am 8c157a2c: Fix e2fsck to run a full check if only the journal has recorded an error
* commit '8c157a2c73b27b3f3ae566be78279460a35ccbc1':
Fix e2fsck to run a full check if only the journal has recorded an error
diff --git a/e2fsck/journal.c b/e2fsck/journal.c
index 155857d..3023057 100644
--- a/e2fsck/journal.c
+++ b/e2fsck/journal.c
@@ -842,6 +842,9 @@
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();