[f2fs-dev] [PATCH] fsck.f2fs: check nat_entry->ino for all nodes

2016-02-22 Thread Sheng Yong
Commit 843f5b9388c4652a ("fsck.f2fs: check ino of an inode") checks nat_entry->ino for inode. However, the checking is irrelevant to node type, and if ino of other kinds of nodes gets corrupted, fsck.f2fs cannot detect it. This patch fixes the commit. Fixes: 843f5b9388c4652a ("fsck.f2fs: check ino

Re: [f2fs-dev] [PATCH] fsck.f2fs: check nat_entry->ino for all nodes

2016-02-22 Thread Jaegeuk Kim
Hi Sheng, On Mon, Feb 22, 2016 at 05:01:15PM +, Sheng Yong wrote: > Commit 843f5b9388c4652a ("fsck.f2fs: check ino of an inode") checks > nat_entry->ino for inode. However, the checking is irrelevant to node > type, and if ino of other kinds of nodes gets corrupted, fsck.f2fs > cannot detect i