From: Ryusuke Konishi Date: Tue, 22 Feb 2011 17:26:17 +0000 (+0900) Subject: nilfs2: add free entries count only if clear bit operation succeeded X-Git-Tag: v2.6.39-rc1~411^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9954e7af14868b8b79e76b7b88daaf0b3866db33;p=pandora-kernel.git nilfs2: add free entries count only if clear bit operation succeeded Three functions of the current persistent object allocator, nilfs_palloc_commit_free_entry, nilfs_palloc_abort_alloc_entry, and nilfs_palloc_freev functions unconditionally add a counter after doing clear bit operation on a bitmap block. If the clear bit operation overlapped, the counter will not add up. This fixes the issue by making the counter operations conditional. Signed-off-by: Ryusuke Konishi --- Reading git-diff-tree failed