提交 15d67298 编写于 作者: C Changlong Xie 提交者: Jeff Cody

mirror: fix misleading comments

s/target bs/to_replace/, also we check to_replace bs is not
blocked in qmp_drive_mirror() not here
Signed-off-by: NChanglong Xie <xiecl.fnst@cn.fujitsu.com>
Reviewed-by: NFam Zheng <famz@redhat.com>
Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: NJeff Cody <jcody@redhat.com>
Message-id: 1466672241-22485-3-git-send-email-xiecl.fnst@cn.fujitsu.com
Signed-off-by: NJeff Cody <jcody@redhat.com>
上级 b48100cf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册