Whamcloud - gitweb
Ignore "safe" flag differences when e2fsck compares superblocks
authorTheodore Ts'o <tytso@mit.edu>
Sun, 27 Jan 2008 04:17:50 +0000 (23:17 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Jan 2008 04:17:50 +0000 (23:17 -0500)
commita8cde73acbf6e0f9c0a3601e4f5fac2b01a27bd2
tree615cca32ed7a471d34b4666087470fcc3f3d2af0
parent2921332fd88b843ffb828d9c18f05bfd171ace76
Ignore "safe" flag differences when e2fsck compares superblocks

Recent e2fsprogs (1.40.3 and higher) fsck compares primary superblock to
backups, and if things differ, it forces a full check.  However, the
kernel has a penchant for updating flags the first time a feature is
used - attributes, large files, etc.

This is a bad idea, and we should break the kernel of this habit,
especially for the ext4 feature flags.  But for now, let's make e2fsck
avoid forcing a full check and backup except when absolutely
necessary.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/super.c