diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-20 09:22:03 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-06-02 18:05:08 -0700 |
commit | fc9581c809722960c46a02445f2434120e5e483b (patch) | |
tree | fe14d15cab1ef6d2d5562410155033e46fdd1afd /fs/f2fs/dir.c | |
parent | 91942321e4c9f8460f260cdfcf0a7a48a73a84a4 (diff) | |
download | linux-stable-fc9581c809722960c46a02445f2434120e5e483b.tar.gz linux-stable-fc9581c809722960c46a02445f2434120e5e483b.tar.bz2 linux-stable-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/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 9fa8d3edb8e0..dc4beae14c92 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -686,7 +686,7 @@ void f2fs_drop_nlink(struct inode *dir, struct inode *inode, struct page *page) drop_nlink(inode); if (S_ISDIR(inode->i_mode)) { drop_nlink(inode); - i_size_write(inode, 0); + f2fs_i_size_write(inode, 0); } up_write(&F2FS_I(inode)->i_sem); update_inode_page(inode); |