summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-04-14 01:24:44 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2016-04-26 23:24:48 +0200
commit5268137564920843e581304d9bfb06fb9502cf24 (patch)
treebc35655accd48fcc21128920d20b77e2962c7c00 /fs/f2fs/file.c
parentf2fs: avoid writing 0'th page in volatile writes (diff)
downloadlinux-5268137564920843e581304d9bfb06fb9502cf24.tar.xz
linux-5268137564920843e581304d9bfb06fb9502cf24.zip
f2fs: split sync_node_pages with fsync_node_pages
This patch splits the existing sync_node_pages into (f)sync_node_pages. The fsync_node_pages is used for f2fs_sync_file only. Acked-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
-rw-r--r--fs/f2fs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 7de90e60abd1..3d53ee058aae 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -256,7 +256,7 @@ go_write:
goto out;
}
sync_nodes:
- sync_node_pages(sbi, ino, &wbc);
+ fsync_node_pages(sbi, ino, &wbc);
/* if cp_error was enabled, we should avoid infinite loop */
if (unlikely(f2fs_cp_error(sbi))) {