e2fsck: Fix i_size checking for large extent-based files
This:
Truncating bigfile to
14680064000000
Pass 1: Checking inodes, blocks, and sizes
Inode 49154, i_size is
14680064000000, should be 0. Fix<y>?
is a bit unexpected. It's because the size is being checked against
the max sizes for bitmap files, not extent-based files.
Nick saw this with his 14TB file.
Patch below applies different size limits to the different file
formats.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>