e2fsprogs/e2fsck
Theodore Ts'o 6f5bb811e8 e2fsck: skip checking the journal fields if the file system is mounted
When a file system with journal checksums is mounted, the journal
checksum is only updated when the journal superblock is actually
written to disk.  But when a root file system is mounted read-only,
e2fsck will get the in-memory version of the journal superblock, and
the checksum is not necessarily going to be correct.  Since we only
allow the root file system to be checked while it is mounted
read-only, and we won't be trying to replay the journal anyway.  So we
can skip the checking the journal superblock fields for mounted file
systems.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-06-19 18:14:33 -04:00
..
Android.mk Update Android build files so the 1.43 branch builds on AOSP 2015-05-25 20:25:28 -04:00
CHANGES Many files: 1997-04-26 13:21:57 +00:00
Makefile.in e2fsck: rebuild sparse extent trees & convert non-extent ext3 files 2015-04-21 16:22:59 -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 e2fsck: clean up assertions in dict.c 2015-03-01 15:44:55 -05:00
dict.h Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
dirinfo.c e2fsck,misc: include ext2fs.h to avoid clang warnings 2015-05-23 18:08:35 -04:00
dx_dirinfo.c e2fsck: notice when the realloc of dir_info fails 2014-09-11 12:24:07 -04:00
e2fsck.8.in e2fsck: optionally create an undo file 2015-05-05 10:40:49 -04:00
e2fsck.c e2fsck: rebuild sparse extent trees & convert non-extent ext3 files 2015-04-21 16:22:59 -04:00
e2fsck.conf.5.in e2fsck: read-ahead metadata during passes 1, 2, and 4 2015-04-21 10:40:21 -04:00
e2fsck.h e2fsck: optionally create an undo file 2015-05-05 10:40:49 -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
extents.c misc: fix Coverity bugs 2015-05-16 18:32:33 -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 libext2fs, libe2p, misc: git rid of jfs_user.h 2015-05-25 21:18:15 -04:00
journal.c e2fsck: fix message when the journal is deleted and regenerated 2015-01-27 13:12:52 -05: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 libext2fs: add new hooks to support large allocations 2015-06-10 14:13:25 -04:00
pass1b.c Remove compression support 2015-04-12 08:42:40 -04:00
pass2.c Update ext4 encryption format to final v4.1 version 2015-05-03 17:01:59 -04: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: read-ahead metadata during passes 1, 2, and 4 2015-04-21 10:40:21 -04:00
pass5.c e2fsck: fix compiler warnings 2014-11-04 11:35:56 -05:00
problem.c e2fsck: convert block-mapped files to extents on bigalloc fs 2015-05-16 20:51:40 -04:00
problem.h e2fsck: convert block-mapped files to extents on bigalloc fs 2015-05-16 20:51:40 -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
readahead.c misc: fix Coverity bugs 2015-05-16 18:32:33 -04:00
recovery.c e2fsck: fix buffer overrun in revoke block scanning 2015-05-16 20:50:21 -04:00
region.c misc: fix compiler warnings and minor build errors 2014-11-07 21:23:41 -05:00
rehash.c Update ext4 encryption format to final v4.1 version 2015-05-03 17:01:59 -04:00
revoke.c e2fsck: fix buffer overrun in revoke block scanning 2015-05-16 20:50:21 -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 e2fsck: rebuild sparse extent trees & convert non-extent ext3 files 2015-04-21 16:22:59 -04:00
unix.c e2fsck: skip checking the journal fields if the file system is mounted 2015-06-19 18:14:33 -04:00
util.c libext2fs/e2fsck: provide routines to read-ahead metadata 2015-04-21 10:40:15 -04:00