fsck.f2fs: check ino of an used nat entry
authorSheng Yong <shengyong1@huawei.com>
Sat, 30 Jan 2016 09:16:38 +0000 (09:16 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 2 Feb 2016 00:28:15 +0000 (16:28 -0800)
commita9cd90e531e4c23857e9f24032ab29d77f394e50
treebf02aa1713172d55400c4937eac9dcf8a7cc9fd7
parent1952ab467c1a98060b7cca7e3545cf958c106b00
fsck.f2fs: check ino of an used nat entry

If a nid is valid, the ino in its nat entry should record its parent nid.
However if the ino is zero, we should drop the node.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Xue Liu <liuxueliu.liu@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/fsck.c