ext4: Allow read/only mounts with corrupted block group checksums
authorTheodore Ts'o <tytso@mit.edu>
Sat, 26 Jul 2008 18:34:21 +0000 (14:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 26 Jul 2008 18:34:21 +0000 (14:34 -0400)
commit8a266467b8c4841ca994d0fe59f39e584650e3df
treeb9cde0d9ddf3d5eea87f609267b930e08024a9f1
parentd03856bd5e5abac717da137dc60fe4a691769bd0
ext4: Allow read/only mounts with corrupted block group checksums

If the block group checksums are corrupted, still allow the mount to
succeed, so e2fsck can have a chance to try to fix things up.  Add
code in the remount r/w path to make sure the block group checksums
are valid before allowing the filesystem to be remounted read/write.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c