Whamcloud - gitweb
e2fsck: clear uninit flag on directory extents
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 18 Jul 2014 22:55:21 +0000 (15:55 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 25 Jul 2014 12:50:23 +0000 (08:50 -0400)
commit57b7fabc2e06e145811977b88b46239267bbd1e6
tree94a96b5f55314d1b1897be74f00c8e1c4dc16f7a
parentc28c2741ba5af0fde93b50f992c525fea5b05cf6
e2fsck: clear uninit flag on directory extents

Directories can't have uninitialized extents, so offer to clear the
uninit flag when we find this situation.  The actual directory blocks
will be checked in pass 2 and 3 regardless of the uninit flag.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
e2fsck/problem.c
e2fsck/problem.h
tests/f_uninit_dir/expect.1 [new file with mode: 0644]
tests/f_uninit_dir/expect.2 [new file with mode: 0644]
tests/f_uninit_dir/image.gz [new file with mode: 0644]
tests/f_uninit_dir/name [new file with mode: 0644]