f2fs: avoid unnecessary updating inode during fsync
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 21 May 2016 03:42:37 +0000 (20:42 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 3 Jun 2016 01:05:13 +0000 (18:05 -0700)
commit26de9b11713057a16a9220423a2f137774763b0e
treecf238a2873c5b3befbe1499f9005de554a759a9e
parentee6d182f2a19d5d44607b5ae4bec523726d76a99
f2fs: avoid unnecessary updating inode during fsync

If roll-forward recovery can recover i_size, we don't need to update inode's
metadata during fsync.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/recovery.c
fs/f2fs/super.c