From: Theodore Ts'o Date: Tue, 13 Feb 2001 04:32:53 +0000 (+0000) Subject: ChangeLog, journal.c: X-Git-Tag: E2FSPROGS-1_20~102 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d051521278790e5fc7d97d59bb3be6b662a76365;p=tools%2Fe2fsprogs.git ChangeLog, journal.c: journal.c (e2fsck_run_ext3_journal): Force a flush of the filesystem and io_channel before replaying the journal. --- diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index 1e5f8a3..2749884 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 f7c8787..50a9390 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); /*