mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
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:
parent
228d850dd2
commit
92c2ac3998
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user