fsck.f2fs: fix wrong err message of check quota node
PATCH 1/1 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 <[email protected]>
--- fsck/fsck.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
fsck/fsck.c +3 -2
@@ -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; }
Signature · 6 lines
1.9.1 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Quoted 3 lines · Yunlei He
This patch fix wrong err message of check quota node.
Signed-off-by Yunlei He <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot