Home
last modified time | relevance | path

Searched hist:"349 dbc36" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nilfs2/
H A Dalloc.c349dbc36 Tue May 10 06:59:34 CDT 2011 Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> nilfs2: fix infinite loop in nilfs_palloc_freev function

After having applied commit 9954e7af14868b8b ("nilfs2: add free
entries count only if clear bit operation succeeded"), a free routine
of nilfs came to fall into an infinite loop, outputting the same
message endlessly:

nilfs_palloc_freev: entry number 29497 already freed
nilfs_palloc_freev: entry number 29497 already freed
nilfs_palloc_freev: entry number 29497 already freed
nilfs_palloc_freev: entry number 29497 already freed
nilfs_palloc_freev: entry number 29497 already freed ...

That patch broke the routine so that a loop counter is never updated
in an abnormal state. This fixes the regression.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>