commit | a1961246c392dbf7dabdc81b4e074c32053fbf61 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Fri May 20 09:43:20 2016 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Thu Jun 02 18:05:10 2016 -0700 |
tree | 452d915dba0d3dffdaeeb207c59edea09228d922 | |
parent | 8edd03c870e4eb8d635d507a7d83fe35d76117c2 [diff] [blame] |
f2fs: introduce f2fs_i_links_write with mark_inode_dirty_sync This patch introduces f2fs_i_links_write() to call mark_inode_dirty_sync() when changing inode->i_links. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index aa8cb45..02e0522 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c
@@ -535,6 +535,7 @@ } clear_nlink(inode); + mark_inode_dirty_sync(inode); /* truncate all the data during iput */ iput(inode);