Whamcloud - gitweb
e2fsck: only complain about no-checksum directory blocks once
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 14 Dec 2014 02:55:12 +0000 (21:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Dec 2014 02:55:12 +0000 (21:55 -0500)
commitd02d019557d993c8dfe2f7d0fea841101f0d9e61
tree21064c3c9c07789a33775a790512c8bae5e0bfd8
parent492084ffb245dd027a761914574871913862a78a
e2fsck: only complain about no-checksum directory blocks once

If a directory block lacks space for a checksum and the user directs
e2fsck to fix the directory block (by rehashing it), don't complain a
second time about the checksum verification failure when we get to the
end of the directory block.

Also, don't complain about broken HTREE directories if we're already
planning to rebuild the HTREE directory.

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