diff options
Diffstat (limited to 'fs/jbd2/commit.c')
-rw-r--r-- | fs/jbd2/commit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index 0d3814a35ed1..78e4da934121 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c | |||
@@ -783,6 +783,9 @@ wait_for_iobuf: | |||
783 | /* AKPM: bforget here */ | 783 | /* AKPM: bforget here */ |
784 | } | 784 | } |
785 | 785 | ||
786 | if (err) | ||
787 | jbd2_journal_abort(journal, err); | ||
788 | |||
786 | jbd_debug(3, "JBD: commit phase 5\n"); | 789 | jbd_debug(3, "JBD: commit phase 5\n"); |
787 | 790 | ||
788 | if (!JBD2_HAS_INCOMPAT_FEATURE(journal, | 791 | if (!JBD2_HAS_INCOMPAT_FEATURE(journal, |