diff options
-rw-r--r-- | fs/jbd/commit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jbd/commit.c b/fs/jbd/commit.c index ae08c057e751..f1ea861b9929 100644 --- a/fs/jbd/commit.c +++ b/fs/jbd/commit.c | |||
@@ -762,6 +762,9 @@ wait_for_iobuf: | |||
762 | /* AKPM: bforget here */ | 762 | /* AKPM: bforget here */ |
763 | } | 763 | } |
764 | 764 | ||
765 | if (err) | ||
766 | journal_abort(journal, err); | ||
767 | |||
765 | jbd_debug(3, "JBD: commit phase 6\n"); | 768 | jbd_debug(3, "JBD: commit phase 6\n"); |
766 | 769 | ||
767 | if (journal_write_commit_record(journal, commit_transaction)) | 770 | if (journal_write_commit_record(journal, commit_transaction)) |