mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
fsck.f2fs: fix wrong err message of check quota node
This patch fix wrong err message of check quota node. Signed-off-by: Yunlei He <heyunlei@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
8af586d3a2
commit
ffd0179558
@ -1663,7 +1663,7 @@ int fsck_chk_quota_node(struct f2fs_sb_info *sbi)
|
||||
nid_t ino = QUOTA_INO(sb, qtype);
|
||||
struct node_info ni;
|
||||
|
||||
DBG(1, "[%3d] ino [0x%x]\n", qtype, ino);
|
||||
DBG(1, "qtype [%d] ino [0x%x]\n", qtype, ino);
|
||||
blk_cnt = 1;
|
||||
|
||||
if (c.preen_mode == PREEN_MODE_1 && !c.fix_on) {
|
||||
@ -1676,7 +1676,8 @@ int fsck_chk_quota_node(struct f2fs_sb_info *sbi)
|
||||
ret = fsck_chk_node_blk(sbi, NULL, ino,
|
||||
F2FS_FT_REG_FILE, TYPE_INODE, &blk_cnt, NULL);
|
||||
if (ret)
|
||||
ASSERT_MSG("[0x%x] wrong orphan inode", ino);
|
||||
ASSERT_MSG("wrong quota inode, qtype [%d] ino [0x%x]",
|
||||
qtype, ino);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user