Whamcloud - gitweb
Check for inodes which are too big (either too many blocks, or
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 May 2002 01:19:14 +0000 (21:19 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 May 2002 01:19:14 +0000 (21:19 -0400)
commitda307041e75bdf3b24c1eb43132a4f9d8a1b3844
treefa7cdeb410f405d5874cab3516764fc3257c96c0
parentbcf9c5d4016975c3c2afdb4a4b358569bd3c8681
Check for inodes which are too big (either too many blocks, or
would cause i_size to be too big), and offer to truncate the inode.
Remove old bogus i_size checks.

Add test case which tests e2fsck's handling of large sparse files.
Older e2fsck with the old(er) bogus i_size checks didn't handle
this correctly.
13 files changed:
e2fsck/ChangeLog
e2fsck/pass1.c
e2fsck/problem.c
e2fsck/problem.h
tests/ChangeLog
tests/f_badsymlinks/expect.1
tests/f_big_sparse/expect.1 [new file with mode: 0644]
tests/f_big_sparse/expect.2 [new file with mode: 0644]
tests/f_big_sparse/image.gz [new file with mode: 0644]
tests/f_big_sparse/name [new file with mode: 0644]
tests/f_lotsbad/expect.1
tests/f_lotsbad/expect.2
tests/f_lotsbad/image.gz