diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index 1e5f8a3b..2749884a 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,8 @@ +2001-02-12 Theodore Tso + + * journal.c (e2fsck_run_ext3_journal): Force a flush of the + filesystem and io_channel before replaying the journal. + 2001-01-17 Theodore Ts'o * pass1.c (check_blocks): Fix large file checking code so that diff --git a/e2fsck/journal.c b/e2fsck/journal.c index f7c87871..50a93903 100644 --- a/e2fsck/journal.c +++ b/e2fsck/journal.c @@ -695,6 +695,8 @@ int e2fsck_run_ext3_journal(e2fsck_t ctx) return EXT2_ET_FILE_RO; } + ext2fs_flush(fs); /* Force out any modifications */ + recover_retval = recover_ext3_journal(ctx); /*