e2fsprogs/e2fsck
Darrick J. Wong fac0c8ead8 e2fsck: on read error, don't rewrite blocks past the end of the fs
If e2fsck encounters a read error on a block past the end of the
filesystem, don't bother trying to "rewrite" the block.  We might
still want to re-try the read to capture FS data marooned past the end
of the filesystem, but in that case e2fsck ought to move the block
back inside the filesystem.

This enables e2fuzz to detect writes past the end of the FS due to
software bugs.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-01-27 13:12:37 -05:00
..
CHANGES Many files: 1997-04-26 13:21:57 +00:00
Makefile.in misc: use libmagic when libblkid can't identify something 2014-09-20 23:42:19 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
argv_parse.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
argv_parse.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
badblocks.c e2fsck: fix memory leak on error path in read_bad_blocks_files() 2014-01-07 09:10:24 -05:00
dict.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
dict.h Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
dirinfo.c e2fsck: fix dangling pointer when dir_info array is resized 2014-11-05 11:14:26 -05:00
dx_dirinfo.c e2fsck: notice when the realloc of dir_info fails 2014-09-11 12:24:07 -04:00
e2fsck.8.in Fix spelling typo's in man pages for tune2fs and mke2fs 2012-07-14 19:58:06 -04:00
e2fsck.c e2fsck: don't clobber critical metadata during check_blocks 2014-07-23 12:11:23 -04:00
e2fsck.conf.5.in e2fsck.conf: clarify man page's description of accept_time_fudge 2014-01-04 19:11:36 -05:00
e2fsck.h libext2fs/e2fsck: refactor everyone who writes zero blocks to disk 2014-10-13 04:31:17 -04:00
ea_refcount.c e2fsck: fix printf conversion specs in ea_refcount.c 2013-12-24 22:50:23 -05:00
ehandler.c e2fsck: on read error, don't rewrite blocks past the end of the fs 2015-01-27 13:12:37 -05:00
emptydir.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
extend.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
flushb.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
iscan.c debugfs, e2fsck: fix s_desc_size handling 2013-12-24 22:50:19 -05:00
jfs_user.h define bitwise types and annotate conversion routines 2014-11-04 11:24:44 -05:00
journal.c e2fsck: fix minor errors in journal handling 2014-09-11 16:45:42 -04:00
logfile.c e2fsck: close the progress_fd in the logfile child process 2015-01-12 19:42:29 -05:00
message.c Merge branch 'maint' into next 2014-07-06 00:09:27 -04:00
mtrace.awk Many files: 1997-04-26 13:21:57 +00:00
mtrace.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
mtrace.h ChangeLog, super.c: 2001-01-12 21:05:57 +00:00
pass1.c e2fsck: clear i_block[] when there are too many bad mappings on a special inode 2015-01-27 13:12:31 -05:00
pass1b.c Merge branch 'maint' into next 2014-07-26 16:53:37 -04:00
pass2.c e2fsck: only complain about no-checksum directory blocks once 2014-12-13 21:55:12 -05:00
pass3.c e2fsck: don't complain about root dir csum failures when getting lnf 2014-12-13 21:55:22 -05:00
pass4.c e2fsck: use dgrp_t for block group numbers 2013-12-02 23:21:31 -05:00
pass5.c e2fsck: fix compiler warnings 2014-11-04 11:35:56 -05:00
problem.c e2fsck: remove 'invalid' wording from error when extent block fails checksum 2014-12-03 00:01:44 -05:00
problem.h e2fsck: offer to clear overlapping extents 2014-09-18 21:29:19 -04:00
problemP.h e2fsck: add ability to limit the # of problems of a particular type 2012-03-14 17:44:54 -04:00
prof_err.et Fix more spelling errors found by translators and add pluralization 2011-10-09 17:54:23 -04:00
profile.c e2fsck, mke2fs: enable octal integers in the profile/config file 2014-01-30 13:58:18 -05:00
profile.h mke2fs: Allow specifying reserved_ratio via mke2fs.conf 2011-05-14 23:34:48 -04:00
profile_helpers.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
profile_helpers.h Simplify profile core functionality 2006-01-02 22:04:41 -05:00
quota.c quota: integrate mkquota.h into quotaio.h 2014-05-13 10:13:04 -04:00
recovery.c e2fsck: free bh when descriptor block checksum fails 2014-09-18 21:46:22 -04:00
region.c misc: fix compiler warnings and minor build errors 2014-11-07 21:23:41 -05:00
rehash.c e2fsck: correctly preserve fs flags when modifying ignore-csum-error flag 2014-08-02 22:48:21 -04:00
revoke.c e2fsck/debugfs: fix descriptor block size handling errors with journal_csum 2014-09-11 12:40:54 -04:00
scantest.c e2fsprogs: introduce ext2fs_close_free() helper 2014-07-05 21:06:48 -04:00
sigcatcher.c Merge branch 'maint' into next 2013-06-16 18:54:01 -04:00
super.c Merge branch 'maint' into next 2014-08-10 19:33:31 -04:00
unix.c Merge branch 'maint' into next 2014-10-11 19:26:55 -04:00
util.c libext2fs/e2fsck: refactor everyone who writes zero blocks to disk 2014-10-13 04:31:17 -04:00