diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-08-28 10:50:51 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2014-09-08 14:55:01 -0700 |
commit | 83e54446710466a0c4493236079184131f0004ce (patch) | |
tree | 86c927b303f03fe7a04be9a605f4ff4e3775c344 | |
parent | 6b20b0d6788b4e7241c3acad1560d8eaad80b319 (diff) | |
download | android_external_f2fs-tools-83e54446710466a0c4493236079184131f0004ce.tar.gz android_external_f2fs-tools-83e54446710466a0c4493236079184131f0004ce.tar.bz2 android_external_f2fs-tools-83e54446710466a0c4493236079184131f0004ce.zip |
fsck.f2fs: corrupted orphan inode will be removed
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | fsck/fsck.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fsck/fsck.c b/fsck/fsck.c index 2a47b4c..914dcb9 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -712,10 +712,8 @@ void fsck_chk_orphan_node(struct f2fs_sb_info *sbi) nid_t ino = le32_to_cpu(orphan_blk->ino[j]); DBG(1, "[%3d] ino [0x%x]\n", i, ino); blk_cnt = 1; - ret = fsck_chk_node_blk(sbi, NULL, ino, + fsck_chk_node_blk(sbi, NULL, ino, F2FS_FT_ORPHAN, TYPE_INODE, &blk_cnt); - if (ret == -EINVAL) - printf("TODO: nothing?\n"); } memset(orphan_blk, 0, BLOCK_SZ); } |