f2fs-tool: increase debug level from 0 to 1 in migrate_block

commit 3bfcca8c81
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

Increase debug level from 0 to 1 in migrate_block.
It seems that doesn't need to display debug message by default.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
Jaehoon Chung 2021-04-16 08:32:56 +09:00 committed by dongsenhao
parent 228d850dd2
commit 92c2ac3998

View File

@ -53,7 +53,7 @@ static int migrate_block(struct f2fs_sb_info *sbi, u64 from, u64 to)
else else
update_nat_blkaddr(sbi, 0, le32_to_cpu(sum.nid), to); update_nat_blkaddr(sbi, 0, le32_to_cpu(sum.nid), to);
DBG(0, "Migrate %s block %"PRIx64" -> %"PRIx64"\n", DBG(1, "Migrate %s block %"PRIx64" -> %"PRIx64"\n",
IS_DATASEG(type) ? "data" : "node", IS_DATASEG(type) ? "data" : "node",
from, to); from, to);
free(raw); free(raw);