From: Ryusuke Konishi Date: Tue, 10 May 2011 11:59:34 +0000 (+0900) Subject: nilfs2: fix infinite loop in nilfs_palloc_freev function X-Git-Tag: v2.6.39~65^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=349dbc3669d043e656f3ed48c7bfe073ca1c6326;p=pandora-kernel.git 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 --- Reading git-diff-tree failed