e2fsprogs/e2fsck
Eric Sandeen 7c1e090ce1 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>
2008-07-07 11:01:36 -04:00
..
CHANGES Many files: 1997-04-26 13:21:57 +00:00
Makefile.in Fix "make check" in e2fsck subdirectory to use the in-tree com_err library 2008-06-19 10:09:08 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
argv_parse.c Add the profile library code to e2fsck 2005-12-30 23:57:32 -05:00
argv_parse.h Add the profile library code to e2fsck 2005-12-30 23:57:32 -05:00
badblocks.c e2fsck: Print an explicit message when the bad block inode is updated 2008-02-27 15:10:20 -05:00
crc32.c Add CRC32 (big-endian) routine for use by journal checksums 2008-06-06 23:38:38 -04:00
crc32defs.h Add CRC32 (big-endian) routine for use by journal checksums 2008-06-06 23:38:38 -04:00
dict.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
dict.h Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
dirinfo.c Fix e2fsck segfault on very badly damaged filesystems 2007-07-11 13:42:43 -04:00
dx_dirinfo.c ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem() 2003-08-01 09:41:07 -04:00
e2fsck.8.in Add a reference to e2fsck.conf(5) to the e2fsck man page 2008-06-18 11:27:21 -04:00
e2fsck.c e2fsck: Include the device name in the progress information 2008-03-26 09:11:46 -04:00
e2fsck.conf.5.in Work around lame Ubuntu init scripts / installer bugs 2007-09-22 20:43:11 -04:00
e2fsck.conf.ubuntu Add Ubuntu-specific e2fsck.conf file to work around Ubuntu issues 2007-12-05 21:01:22 -05:00
e2fsck.h Add CRC32 (big-endian) routine for use by journal checksums 2008-06-06 23:38:38 -04:00
ea_refcount.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
ehandler.c Fix gcc -Wall nitpicks 2003-12-07 01:28:50 -05:00
emptydir.c Add support for the HUGE_FILE feature 2008-04-17 16:38:13 -04:00
extend.c ChangeLog, extend.c, flushb.c: 2000-09-12 21:24:36 +00:00
flushb.c Remove the debian-special legal permission notes. 2003-04-14 20:40:49 -04:00
gen_crc32table.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
iscan.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00
jfs_user.h Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
journal.c e2fsck: Add support to check journal checksums 2008-06-06 23:38:38 -04:00
message.c Add support for the HUGE_FILE feature 2008-04-17 16:38:13 -04:00
mtrace.awk Many files: 1997-04-26 13:21:57 +00:00
mtrace.c ChangeLog, mtrace.c, mtrace.h: 2000-12-31 01:52:03 +00:00
mtrace.h ChangeLog, super.c: 2001-01-12 21:05:57 +00:00
pass1.c e2fsck: Fix i_size checking for large extent-based files 2008-07-07 11:01:36 -04:00
pass1b.c Merge branch 'maint' 2008-03-13 10:53:26 -04:00
pass2.c Add support for the HUGE_FILE feature 2008-04-17 16:38:13 -04:00
pass3.c Add support for the HUGE_FILE feature 2008-04-17 16:38:13 -04:00
pass4.c Add support for the DIR_NLINK feature. 2008-03-15 01:39:19 -04:00
pass5.c Remove LAZY_BG feature 2008-04-20 23:33:34 -04:00
problem.c e2fsck: Add support to check journal checksums 2008-06-06 23:38:38 -04:00
problem.h e2fsck: Add support to check journal checksums 2008-06-06 23:38:38 -04:00
problemP.h Add e2fsck problem handling to be configurable 2005-12-31 16:33:33 -05:00
prof_err.et Add the profile library code to e2fsck 2005-12-30 23:57:32 -05:00
profile.c Add new function: profile_set_default() 2007-07-04 13:03:35 -04:00
profile.h Add new function: profile_set_default() 2007-07-04 13:03:35 -04:00
profile_helpers.c Fix gcc -Wall warning in profile_helper.c 2006-01-05 01:29:50 -05:00
profile_helpers.h Simplify profile core functionality 2006-01-02 22:04:41 -05:00
recovery.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
region.c This patch completes the initial extended attribute/ACL support for 2001-07-19 16:31:25 -04:00
rehash.c Add support for the HUGE_FILE feature 2008-04-17 16:38:13 -04:00
revoke.c Fix gcc -Wall nits. 2002-10-13 23:56:28 -04:00
scantest.c Add Apple/Darwin patches. 2003-03-14 02:13:48 -05:00
super.c Remove LAZY_BG feature 2008-04-20 23:33:34 -04:00
unix.c e2fsck: Add better explanatory message when s_lastcheck is in the future 2008-06-07 12:19:08 -04:00
util.c Make e2fsck uninit block group aware 2008-03-20 15:33:12 -04:00