Whamcloud - gitweb
e2fsck: ignore differing NEEDS_RECOVERY flag on backup sbs
authorEric Sandeen <sandeen@redhat.com>
Sat, 22 Nov 2008 15:02:48 +0000 (09:02 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Apr 2009 17:20:53 +0000 (13:20 -0400)
commitd9ff474b742f700e049f336f055918060f21a543
tree5e2ce565e8855ac138413bb84c62b699416250e2
parenta620baddee647faf42c49ee2e04ee3f667149d68
e2fsck: ignore differing NEEDS_RECOVERY flag on backup sbs

When we resize online, the primary superblock gets copied to all
the backups, and of course since we're mounted the NEEDS_RECOVERY
flag is set.  A subsequent fsck will find the backups have the
NEEDS_RECOVERY flag set while the primary does not, and this
forces a full fsck pass.

I think this flag can be safely ignored in the flag comparisons.

Addresses-Red-Hat-Bugzilla: #471925

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