]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/f2fs/super.c
Merge tag 'for-f2fs-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk...
[mirror_ubuntu-artful-kernel.git] / fs / f2fs / super.c
index b62c10d28e0652fd4a0d45d19d006e42a2cd4d8a..702638e21c7621a4804a8c84fefc7635785ff42d 100644 (file)
@@ -1265,7 +1265,7 @@ static int __f2fs_commit_super(struct buffer_head *bh,
        unlock_buffer(bh);
 
        /* it's rare case, we can do fua all the time */
-       return __sync_dirty_buffer(bh, WRITE_FLUSH_FUA);
+       return __sync_dirty_buffer(bh, REQ_PREFLUSH | REQ_FUA);
 }
 
 static inline bool sanity_check_area_boundary(struct f2fs_sb_info *sbi,