]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/ext2fs.h
e2fsck: fix incorrect interior node logical start values
authorEric Sandeen <sandeen@redhat.com>
Thu, 20 Dec 2012 19:05:01 +0000 (14:05 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 20 Dec 2012 19:07:56 +0000 (14:07 -0500)
commit789bd401c3bce85d3c2ae4504ca62509aa0a8b88
treec3e8c9aaabdd7d23122e7f5b2f80e45f6d142054
parentdbe5c43b2e6fcc8fe831a134fbc3dda1f5dd0733
e2fsck: fix incorrect interior node logical start values

An index node's logical start (ei_block) should
match the logical start of the first node (index
or leaf) below it.  If we find a node whose start
does not match its parent, fix all of its parents
accordingly.

If it finds such a problem, we'll see:

Pass 1: Checking inodes, blocks, and sizes
Interior extent node level 0 of inode 274258:
Logical start 3666 does not match logical start 4093 at next level.  Fix<y>?

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