]> git.proxmox.com Git - mirror_qemu.git/commitdiff
mirror: fix misleading comments
authorChanglong Xie <xiecl.fnst@cn.fujitsu.com>
Thu, 23 Jun 2016 08:57:21 +0000 (16:57 +0800)
committerJeff Cody <jcody@redhat.com>
Wed, 29 Jun 2016 03:08:25 +0000 (23:08 -0400)
s/target bs/to_replace/, also we check to_replace bs is not
blocked in qmp_drive_mirror() not here

Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 1466672241-22485-3-git-send-email-xiecl.fnst@cn.fujitsu.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/mirror.c

index 5bac906d82fb3c8263adbbcbb8ac0bd1258ac0e3..8d96049555fc2d927a005bb398d006cfdc76013a 100644 (file)
@@ -775,7 +775,7 @@ static void mirror_complete(BlockJob *job, Error **errp)
         }
     }
 
-    /* check the target bs is not blocked and block all operations on it */
+    /* block all operations on to_replace bs */
     if (s->replaces) {
         AioContext *replace_aio_context;