]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita890012f1c45e5f9a39def228a584520c3bfcea2
tree3489cea28078600e87ed1223e60e1a3bb5ffe1fe
parent14bae5c32309f2743a23b4340618503da4a04aa3
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