From: Dmitry Monakhov Date: Sun, 16 May 2010 11:00:00 +0000 (-0400) Subject: ext4: clean up inode bitmaps manipulation in ext4_free_inode X-Git-Tag: v2.6.35-rc1~39^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d17413c08cd2b1dd2bf2cfdbb0f7b736b2b2b15c;p=pandora-kernel.git ext4: clean up inode bitmaps manipulation in ext4_free_inode - Reorganize locking scheme to batch two atomic operation in to one. This also allow us to state what healthy group must obey following rule ext4_free_inodes_count(sb, gdp) == ext4_count_free(inode_bitmap, NUM); - Fix possible undefined pointer dereference. - Even if group descriptor stats aren't accessible we have to update inode bitmaps. - Move non-group members update out of group_lock. Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed