The ext4/033 test tries to test if resize2fs would fail when resizing a file system to a size that the number of inodes exceeds the maximum allowed inode size, 2**32-1. This no longer takes place as of e2fsprogs commit 623985ed7dd5 ("resize2fs: attempt to keep the # of inodes valid by removing the last bg") which will allow resizing a file system to 64TB by reducing the last block group so that file system will be 64TB - 128MB, which is close enough for government work. Reported-by: Eric Whitney <enwlinux@xxxxxxxxx> Signed-off-by: Theodore Ts'o <tytso@xxxxxxx> --- tests/ext4/033 | 8 -------- tests/ext4/033.out | 1 - 2 files changed, 9 deletions(-) diff --git a/tests/ext4/033 b/tests/ext4/033 index 1bc14c03..0fd0ec90 100755 --- a/tests/ext4/033 +++ b/tests/ext4/033 @@ -66,14 +66,6 @@ _mount $DMHUGEDISK_DEV $SCRATCH_MNT echo "Initial fs dump" >> $seqres.full $DUMPE2FS_PROG -h $DMHUGEDISK_DEV >> $seqres.full 2>&1 -# This should fail, s_inodes_count would just overflow! -echo "Resizing to inode limit + 1..." -$RESIZE2FS_PROG $DMHUGEDISK_DEV $((limit_groups*group_blocks)) >> $seqres.full 2>&1 -if [ $? -eq 0 ]; then - echo "Resizing succeeded but it should fail!" - exit -fi - # This should succeed, we are maxing out inodes echo "Resizing to max group count..." $RESIZE2FS_PROG $DMHUGEDISK_DEV $(((limit_groups-1)*group_blocks)) >> $seqres.full 2>&1 diff --git a/tests/ext4/033.out b/tests/ext4/033.out index 24c251cb..183a7492 100644 --- a/tests/ext4/033.out +++ b/tests/ext4/033.out @@ -1,6 +1,5 @@ QA output created by 033 Figure out block size Format huge device -Resizing to inode limit + 1... Resizing to max group count... Resizing to device size... -- 2.31.0