From: Aneesh Kumar K.V Date: Tue, 17 Feb 2009 15:58:32 +0000 (-0500) Subject: ext4: don't use blocks freed but not yet committed in buddy cache init X-Git-Tag: v2.6.27.19~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=919a7cd36ae67ccc0a5e44b7a44a96065b11aa01;p=pandora-kernel.git ext4: don't use blocks freed but not yet committed in buddy cache init (cherry picked from commit 7a2fcbf7f85737735fd44eb34b62315bccf6d6e4) When we generate buddy cache (especially during resize) we need to make sure we don't use the blocks freed but not yet comitted. This makes sure we have the right value of free blocks count in the group info and also in the bitmap. This also ensures the ordered mode consistency Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed