From: Akinobu Mita Date: Fri, 11 Jul 2008 23:27:31 +0000 (-0400) Subject: ext4: fix ext4_init_block_bitmap() for metablock block group X-Git-Tag: v2.6.27-rc1~1087^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6afd670713c9e7d5c5550e379dfedca8ffab4c90;p=pandora-kernel.git ext4: fix ext4_init_block_bitmap() for metablock block group When meta_bg feature is enabled and s_first_meta_bg != 0, ext4_init_block_bitmap() miscalculates the number of block used by the group descriptor table (0 or 1 for metablock block group) This patch fixes this by using ext4_bg_num_gdb() Signed-off-by: Akinobu Mita Cc: Andrew Morton Cc: Stephen Tweedie Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" Acked-by: Andreas Dilger --- Reading git-diff-tree failed