]> 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)
commit3b2b5c7be0bce3ecbd1d79e31737722de946614d
tree3489cea28078600e87ed1223e60e1a3bb5ffe1fe
parent683d52c892b0718225704b1881752ce2435f3355
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