fsck.f2fs: count child directories correctly for i_links
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 27 Mar 2015 21:40:37 +0000 (14:40 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 30 Mar 2015 17:40:17 +0000 (10:40 -0700)
commit4d60a126e1e9eb87bc613d6fdcdcec51876e61f5
treeb430df25416b15af0272a22326c6bc048666ee17
parent22a8ae0a1f91465344d844b03d93930d06a7d8af
fsck.f2fs: count child directories correctly for i_links

If some of children including directories are corrupted, we should not include
them into i_links of their parent.
This patch fixes that.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/fsck.c