OSDN Git Service

Revert "Fix e2fsck to run a full check if only the journal has recorded an error"
authorKen Sumrall <ksumrall@android.com>
Mon, 11 Jun 2012 19:45:32 +0000 (12:45 -0700)
committerKen Sumrall <ksumrall@android.com>
Mon, 11 Jun 2012 19:45:32 +0000 (12:45 -0700)
This reverts commit 8c157a2c73b27b3f3ae566be78279460a35ccbc1.

e2fsck/journal.c

index 3023057..155857d 100644 (file)
@@ -842,9 +842,6 @@ static errcode_t recover_ext3_journal(e2fsck_t ctx)
                mark_buffer_dirty(journal->j_sb_buffer);
        }
 
-       if (ctx->fs->flags & EXT2_FLAG_DIRTY)
-               ext2fs_flush(ctx->fs);  /* Force out any modifications */
-
 errout:
        journal_destroy_revoke(journal);
        journal_destroy_revoke_caches();