summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-05-20 18:22:03 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-03 03:05:08 +0200
commitfc9581c809722960c46a02445f2434120e5e483b (patch)
treefe14d15cab1ef6d2d5562410155033e46fdd1afd /fs/f2fs/super.c
parentf2fs: use inode pointer for {set, clear}_inode_flag (diff)
downloadlinux-fc9581c809722960c46a02445f2434120e5e483b.tar.xz
linux-fc9581c809722960c46a02445f2434120e5e483b.zip
f2fs: introduce f2fs_i_size_write with mark_inode_dirty_sync
This patch introduces f2fs_i_size_write() to call mark_inode_dirty_sync() with i_size_write(). Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 160b15b28b95..d832bf4051b5 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -568,7 +568,7 @@ static int f2fs_drop_inode(struct inode *inode)
f2fs_destroy_extent_node(inode);
sb_start_intwrite(inode->i_sb);
- i_size_write(inode, 0);
+ f2fs_i_size_write(inode, 0);
if (F2FS_HAS_BLOCKS(inode))
f2fs_truncate(inode, true);