aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2012-03-22 18:42:11 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-03-22 19:42:11 -0400
commit010dc7b90d97b93907cbf57b3b44f1c1cad234f6 (patch)
tree8bb87c5b99f3317e1801737b463d6d68e863b382 /tests
parent37c8db7b2078d0310e5676404e21cc143d8e4d56 (diff)
downloade2fsprogs-010dc7b90d97b93907cbf57b3b44f1c1cad234f6.tar.gz
e2fsprogs-010dc7b90d97b93907cbf57b3b44f1c1cad234f6.tar.xz
e2fsprogs-010dc7b90d97b93907cbf57b3b44f1c1cad234f6.zip
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/f_bad_disconnected_inode/expect.19
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/f_bad_disconnected_inode/expect.1 b/tests/f_bad_disconnected_inode/expect.1
index d3920e30..11862f65 100644
--- a/tests/f_bad_disconnected_inode/expect.1
+++ b/tests/f_bad_disconnected_inode/expect.1
@@ -2,21 +2,12 @@ Pass 1: Checking inodes, blocks, and sizes
Inode 1 has EXTENTS_FL flag set on filesystem without extents support.
Clear? yes
-Inode 9 should not have EOFBLOCKS_FL set (size 0, lblk -1)
-Clear? yes
-
-Inode 10 should not have EOFBLOCKS_FL set (size 0, lblk -1)
-Clear? yes
-
Inode 15 has EXTENTS_FL flag set on filesystem without extents support.
Clear? yes
Inode 16 has EXTENTS_FL flag set on filesystem without extents support.
Clear? yes
-Inode 13 should not have EOFBLOCKS_FL set (size 0, lblk -1)
-Clear? yes
-
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create? yes