summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/checkpoint.c
diff options
context:
space:
mode:
authorJaegeuk Kim2014-01-21 10:51:16 +0100
committerJaegeuk Kim2014-01-22 10:41:08 +0100
commit4ef51a8fcc7c54ca3ad948a8b4310b3bd5490c72 (patch)
tree7da13ec35c96c78a7f9ef39840ede60e350e7c62 /fs/f2fs/checkpoint.c
parentf2fs: remove the orphan block page array (diff)
downloadkernel-qcow2-linux-4ef51a8fcc7c54ca3ad948a8b4310b3bd5490c72.tar.gz
kernel-qcow2-linux-4ef51a8fcc7c54ca3ad948a8b4310b3bd5490c72.tar.xz
kernel-qcow2-linux-4ef51a8fcc7c54ca3ad948a8b4310b3bd5490c72.zip
f2fs: introduce NODE_MAPPING for code consistency
This patch adds NODE_MAPPING which is similar as META_MAPPING introduced by Gu Zheng. Cc: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/checkpoint.c')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index ed82de6bfb47..293d0486a40f 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -771,7 +771,7 @@ static void do_checkpoint(struct f2fs_sb_info *sbi, bool is_umount)
/* wait for previous submitted node/meta pages writeback */
wait_on_all_pages_writeback(sbi);
- filemap_fdatawait_range(sbi->node_inode->i_mapping, 0, LONG_MAX);
+ filemap_fdatawait_range(NODE_MAPPING(sbi), 0, LONG_MAX);
filemap_fdatawait_range(META_MAPPING(sbi), 0, LONG_MAX);
/* update user_block_counts */