Ryusuke Konishi 349dbc3669 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>
2011-05-10 22:19:50 +09:00
..
2011-03-23 19:46:18 -07:00
2010-07-23 10:02:14 +09:00
2010-10-23 09:24:38 +09:00
2011-03-08 14:58:30 +09:00
2010-07-23 10:02:14 +09:00
2011-03-10 08:52:07 +01:00
2010-10-23 09:24:38 +09:00
2011-04-05 23:51:48 +02:00
2011-03-10 08:52:27 +01:00