From: Darrick J. Wong Date: Mon, 12 May 2014 14:16:06 +0000 (-0400) Subject: ext4: fix block bitmap initialization under sparse_super2 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~88^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1beeef1b5643a16a07a465632a2cf984a4ef2119;p=pandora-kernel.git ext4: fix block bitmap initialization under sparse_super2 The ext4_bg_has_super() function doesn't know about the new rules for where backup superblocks go on a sparse_super2 filesystem. Therefore, block bitmap initialization doesn't know that it shouldn't reserve space for backups in groups that are never going to contain backups. The result of this is e2fsck complaining about the block bitmap being incorrect (fortunately not in a way that results in cross-linked files), so fix the whole thing. Signed-off-by: Darrick J. Wong Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed