f2fs: clear FI_INC_LINK during the recovery
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 8 Aug 2014 00:06:18 +0000 (17:06 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 19 Aug 2014 17:01:34 +0000 (10:01 -0700)
commit695facc05a3eaaf434911dc5dbbc3e6c6a4e1862
tree3489cea28078600e87ed1223e60e1a3bb5ffe1fe
parent617deb8c053aeec06c7aa16ac7225f046fab95e8
f2fs: clear FI_INC_LINK during the recovery

If an inode are fsynced multiple times with fsync & dent marks, this inode will
set FI_INC_LINK at find_fsync_dnodes during the recovery.
But, in recover_inode, recover_dentry doesn't clear that flag when multiple hits
were occurred.

So this patch removes the flag for the further consistency.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c