Whamcloud - gitweb
e2fsck: Only check PR_1_EXTENT_ENDS_BEYOND for leaf nodes
authorEric Sandeen <sandeen@redhat.com>
Wed, 2 Apr 2008 01:38:58 +0000 (20:38 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Apr 2008 21:16:47 +0000 (17:16 -0400)
commit7a1eac2fbe8bcd6588a198af51f66347bb10f5ab
tree44008f27f65460b8ff1ce1202c9295a6f98d82c9
parentc21ed7705be908a5697095e597849804302edd21
e2fsck: Only check PR_1_EXTENT_ENDS_BEYOND for leaf nodes

pass1 was checking that an "extent's" start+len did not extend
past the last filesystem block, but unless we are at a leaf
block, the physical block is that of a node in the tree, and
the length may include sparseness.  The test is only valid
for leaf blocks.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c