]> git.proxmox.com Git - mirror_qemu.git/commitdiff
block: mirror: fix wrong comment of mirror_start
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Wed, 14 Sep 2016 11:03:38 +0000 (07:03 -0400)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 28 Sep 2016 10:21:46 +0000 (11:21 +0100)
Obviously, we should write to '@target'.

Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Reviewed-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1473851019-7005-2-git-send-email-baiyaowei@cmss.chinamobile.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/block/block_int.h

index ef3c047cb377d5d12280d4fd745133d3a3339ecc..3e79228eb00595687471a7c4ff2509827b0738a4 100644 (file)
@@ -722,7 +722,7 @@ void commit_active_start(const char *job_id, BlockDriverState *bs,
  * @errp: Error object.
  *
  * Start a mirroring operation on @bs.  Clusters that are allocated
- * in @bs will be written to @bs until the job is cancelled or
+ * in @bs will be written to @target until the job is cancelled or
  * manually completed.  At the end of a successful mirroring job,
  * @bs will be switched to read from @target.
  */