VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Daeho Jeong <daeho.jeong@samsung.com> 2015-07-23 09:46:11 -0400 committer: Theodore Ts'o <tytso@mit.edu> 2015-07-23 09:46:11 -0400 commit: 564bc402526e437729ecafe3c3511f7cab9f0327 parent: bb9a4e7e824e998070c2a2d1d4c67bc971ab72b8
Commit Summary:
ext4, jbd2: add REQ_FUA flag when recording an error in the superblock
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 4ff3fad4e9e3..fe1b4bdecdfa 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -1456,7 +1456,7 @@ void jbd2_journal_update_sb_errno(journal_t *journal)
 	sb->s_errno    = cpu_to_be32(journal->j_errno);
 	read_unlock(&journal->j_state_lock);
 
-	jbd2_write_superblock(journal, WRITE_SYNC);
+	jbd2_write_superblock(journal, WRITE_FUA);
 }
 EXPORT_SYMBOL(jbd2_journal_update_sb_errno);