From: Darrick J. Wong Date: Wed, 28 Aug 2013 22:46:56 +0000 (-0400) Subject: ext4: mark group corrupt on group descriptor checksum X-Git-Tag: v3.12-rc1~148^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdfb6ff4a255dcebeb09a901250e13a97eff75af;p=pandora-kernel.git ext4: mark group corrupt on group descriptor checksum If the group descriptor fails validation, mark the whole blockgroup corrupt so that the inode/block allocators skip this group. The previous approach takes the risk of writing to a damaged group descriptor; hopefully it was never the case that the [ib]bitmap fields pointed to another valid block and got dirtied, since the memset would fill the page with 1s. Signed-off-by: Darrick J. Wong Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed