diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index d74f1a9104a3..63e394907808 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -1683,7 +1683,7 @@ static int f2fs_ioc_commit_atomic_write(struct file *filp) stat_dec_atomic_write(inode); } } else { - ret = f2fs_do_sync_file(filp, 0, LLONG_MAX, 0, false); + ret = f2fs_do_sync_file(filp, 0, LLONG_MAX, 1, false); } err_out: inode_unlock(inode);