From: Aneesh Kumar K.V Date: Tue, 17 Feb 2009 15:58:36 +0000 (-0500) Subject: ext4: Use new buffer_head flag to check uninit group bitmaps initialization X-Git-Tag: v2.6.27.19~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb1ea4ccbb6c18f38cc5def0831545b2af2a4410;p=pandora-kernel.git ext4: Use new buffer_head flag to check uninit group bitmaps initialization (cherry picked from commit 2ccb5fb9f113dae969d1ae9b6c10e80fa34f8cd3) For uninit block group, the ondisk bitmap is not initialized. That implies we cannot depend on the uptodate flag on the bitmap buffer_head to find bitmap validity. Use a new buffer_head flag which would be set after we properly initialize the bitmap. This also prevent the initializing the uninit group bitmap initialization every time we do a ext4_read_block_bitmap. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed