From: Aneesh Kumar K.V Date: Tue, 6 Jan 2009 02:49:55 +0000 (-0500) Subject: ext4: Use new buffer_head flag to check uninit group bitmaps initialization X-Git-Tag: v2.6.29-rc1~40^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ccb5fb9f113dae969d1ae9b6c10e80fa34f8cd3;p=pandora-kernel.git ext4: Use new buffer_head flag to check uninit group bitmaps initialization For uninit block group, the on-disk 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 prevents (re-)initializing the uninit group bitmap every time we call ext4_read_block_bitmap(). Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" Cc: stable@kernel.org --- Reading git-diff-tree failed