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 <tytso@valinux.com>
+
+ * 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 <tytso@valinux.com>
* 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 @@
return EXT2_ET_FILE_RO;
}
+ ext2fs_flush(fs); /* Force out any modifications */
+
recover_retval = recover_ext3_journal(ctx);
/*