Whamcloud - gitweb
ChangeLog, journal.c:
authorTheodore Ts'o <tytso@mit.edu>
Tue, 13 Feb 2001 04:32:53 +0000 (04:32 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 Feb 2001 04:32:53 +0000 (04:32 +0000)
  journal.c (e2fsck_run_ext3_journal): Force a flush of the filesystem
   and io_channel before replaying the journal.

e2fsck/ChangeLog
e2fsck/journal.c

index 1e5f8a3..2749884 100644 (file)
@@ -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
index f7c8787..50a9390 100644 (file)
@@ -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);
        
        /*