summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-05-20 09:22:03 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-06-02 18:05:08 -0700
commitfc9581c809722960c46a02445f2434120e5e483b (patch)
treefe14d15cab1ef6d2d5562410155033e46fdd1afd /fs/f2fs/super.c
parent91942321e4c9f8460f260cdfcf0a7a48a73a84a4 (diff)
downloadlinux-fc9581c809722960c46a02445f2434120e5e483b.tar.gz
linux-fc9581c809722960c46a02445f2434120e5e483b.tar.bz2
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);