Whamcloud - gitweb
e2fsck: verify extent tree blocks and clear the bad ones
authorDarrick J. Wong <djwong@us.ibm.com>
Mon, 30 Jul 2012 23:18:04 +0000 (19:18 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 30 Jul 2012 23:18:04 +0000 (19:18 -0400)
commit1e2372b3ae9a5f65f9daad7322c095d2003acc7b
tree6fe9efe0182beb40fc43803c83427dbe61d3a78e
parent7cf0485d5ddf9314d46ac2c27f45ef8cdb883b96
e2fsck: verify extent tree blocks and clear the bad ones

When we encounter an extent tree block that passes the header check
but fails the checksum, offer to clear just that extent block instead
of failing the whole tree, which results in the entire inode being
wiped out.

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