f2fs: remove syncing inode page in all the cases
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 20 May 2016 23:32:49 +0000 (16:32 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 3 Jun 2016 01:05:12 +0000 (18:05 -0700)
commitee6d182f2a19d5d44607b5ae4bec523726d76a99
tree514092851eb0e974c6ac8add90fed10056b84998
parent0f18b462b2e5aff64b8638e8a47284b907351ef3
f2fs: remove syncing inode page in all the cases

This patch reduces to call them across the whole tree.
- sync_inode_page()
- update_inode_page()
- update_inode()
- f2fs_write_inode()

Instead, checkpoint will flush all the dirty inode metadata before syncing
node pages.
Note that, this is doable, since we call mark_inode_dirty_sync() for all
inode's field change which needs to update on-disk inode as well.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inline.c
fs/f2fs/namei.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/xattr.c