summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 6db81fbcbaa6..f31eb286af90 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4553,7 +4553,7 @@ static int ext4_commit_super(struct super_block *sb, int sync)
4553 unlock_buffer(sbh); 4553 unlock_buffer(sbh);
4554 if (sync) { 4554 if (sync) {
4555 error = __sync_dirty_buffer(sbh, 4555 error = __sync_dirty_buffer(sbh,
4556 test_opt(sb, BARRIER) ? WRITE_FUA : WRITE_SYNC); 4556 test_opt(sb, BARRIER) ? REQ_FUA : REQ_SYNC);
4557 if (error) 4557 if (error)
4558 return error; 4558 return error;
4559 4559