]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/pass2.c
e2fsck: verify htree root/node checksums
authorDarrick J. Wong <djwong@us.ibm.com>
Thu, 2 Aug 2012 21:27:30 +0000 (17:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 2 Aug 2012 21:27:30 +0000 (17:27 -0400)
commit07307114dea005917b0c3a18a08948435f4a2abc
treee3ee0ffc072259e376368b667eeb1c24a3971613
parentdc96de09d7356ef25448134445753aabfc1097da
e2fsck: verify htree root/node checksums

Check htree internal node checksums.  If broken, ask user to clear
the htree index and recreate it later.

[ Move the check for not rehashing the lost+found directory to pass1
  so that we don't end up truncating lost+found when the metadata
  checksum feature is enabled. -- TYT ]

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/e2fsck.h
e2fsck/pass1.c
e2fsck/pass2.c
e2fsck/problem.c
e2fsck/problem.h
e2fsck/rehash.c