Whamcloud - gitweb
e2fsck: don't offer to fix the checksum of fixed extents
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 27 Jul 2014 23:51:37 +0000 (19:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 27 Jul 2014 23:51:37 +0000 (19:51 -0400)
commitae23dd19d814b1c84158e4b573fd48fb5e090623
tree5da03ed63675fbaa157e47214712964572b3a9e6
parentd3eb1502fd07a4c751d20ad5fa4b75bfda039d52
e2fsck: don't offer to fix the checksum of fixed extents

If an extent fails checksum and the sanity checks, and the user elects
to fix the extents, don't bother asking (the second time) if the user
would like to fix the checksum.  Refactor some redundant code to make
what's going on a little cleaner.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c