Whamcloud - gitweb
ext2fs_flushfs: Remove the NEEDS_RECOVERY from the backup superblocks
authorTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2007 00:39:37 +0000 (19:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 Dec 2007 00:39:37 +0000 (19:39 -0500)
commit9a083af71a2388ae47252f8af2b796f9055f4af7
treebe9503302fe86e0887e42f6e5a45853347e7101a
parent80dda9bb7510059f430e2baba842875a7f3b448c
ext2fs_flushfs: Remove the NEEDS_RECOVERY from the backup superblocks

Now that e2fsck tries to backup the primary superblock to the backups
when the feature sets ar different, it's important when tune2fs writes
out a changed superblock, that we filter out the
EXT3_FEATURE_INCOMPAT_RECOVER feature to the backup superblocks, since
it will be removed from the primary superblock either when the
filesystem is mounted uncleanly or when journal is replayed.

Addresses-Debian-Bug: #454926

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/closefs.c