The printf of @offset enlightens the user little. And the restore cmd is not a debugging tool, so just remove the debug-info-like printf.
Signed-off-by: Gui Hecheng <guihc.f...@cn.fujitsu.com> --- cmds-restore.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmds-restore.c b/cmds-restore.c index 918f1fb..648fbc9 100644 --- a/cmds-restore.c +++ b/cmds-restore.c @@ -310,8 +310,6 @@ static int copy_one_extent(struct btrfs_root *root, int fd, if (compress == BTRFS_COMPRESS_NONE) bytenr += offset; - if (offset) - printf("offset is %Lu\n", offset); /* we found a hole */ if (disk_size == 0) return 0; -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html