Whamcloud - gitweb
e2fsck: offer to clear overlapping extents
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 19 Sep 2014 01:29:19 +0000 (21:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Sep 2014 01:29:19 +0000 (21:29 -0400)
commit79362360658a70e3d4304435bc06837494cf198d
tree880b43d7d73d83a8efb4c5b341acdfccf0cf94bd
parent1bbea9c90932c6b6f2f4ba0e0abb9da4501efce9
e2fsck: offer to clear overlapping extents

If in the course of iterating extents we find that an otherwise
valid-seeming second extent maps the same logical blocks as a
previously examined first extent, offer to clear the duplicate
mapping.

The test for this is already in f_extents.

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