Whamcloud - gitweb
e2fsck: remove EXT4_EOFBLOCKS_FL flag handling
authorLukas Czerner <lczerner@redhat.com>
Thu, 22 Mar 2012 23:42:11 +0000 (18:42 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 23:42:11 +0000 (19:42 -0400)
commit010dc7b90d97b93907cbf57b3b44f1c1cad234f6
tree8bb87c5b99f3317e1801737b463d6d68e863b382
parent37c8db7b2078d0310e5676404e21cc143d8e4d56
e2fsck: remove EXT4_EOFBLOCKS_FL flag handling

We've decided to remove EOFBLOCKS_FL from the ext4 file system entirely,
because it is not actually very useful and it is causing more problems
than it solves. We're going to remove it from e2fsprogs first and then
after the new e2fsprogs version is common enough we can remove the
kernel part as well.

This commit changes e2fsck to not check for EOFBLOCKS_FL. Instead we
simply search for initialized extents past the i_size as this should not
happen. Uninitialized extents can be past the i_size as we can do
fallocate with KEEP_SIZE flag.

Also remove the EXT4_EOFBLOCKS_FL from lib/ext2fs/ext2_fs.h since it is
no longer needed.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/pass1.c
e2fsck/problem.c
e2fsck/problem.h
lib/ext2fs/ext2_fs.h
tests/f_bad_disconnected_inode/expect.1