VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> 2008-10-12 16:39:16 -0400 committer: Theodore Ts'o <tytso@mit.edu> 2008-10-12 16:39:16 -0400 commit: 77e841de8abac4755cc83ca224fdf71418d65380 parent: fd048088306656824958e7783ffcee27e241b361
Commit Summary:
jbd2: abort when failed to log metadata buffers
Diffstat:
1 file 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:
 		/* AKPM: bforget here */
 	}
 
+	if (err)
+		jbd2_journal_abort(journal, err);
+
 	jbd_debug(3, "JBD: commit phase 5\n");
 
 	if (!JBD2_HAS_INCOMPAT_FEATURE(journal,