On 03/10/2016 10:57 PM, Alberto Garcia wrote:
On Thu 10 Mar 2016 03:49:39 AM CET, Changlong Xie wrote:
From: Wen Congyang <[email protected]>

In some cases, we want to take a quorum child offline, and take
another child online.

Signed-off-by: Wen Congyang <[email protected]>
Signed-off-by: zhanghailiang <[email protected]>
Signed-off-by: Gonglei <[email protected]>
Signed-off-by: Changlong Xie <[email protected]>
Reviewed-by: Max Reitz <[email protected]>

+    if (!tmp) {
+        error_setg(errp, "The node %s does not have child named %s",
+                   bdrv_get_device_or_node_name(parent_bs),
+                   bdrv_get_device_or_node_name(child->bs));
+        return;

I think it should be "does not have a child" or "does not have any
child".

With that corrected,

Ok, will fix in next version.

Thanks
        -Xie


Reviewed-by: Alberto Garcia <[email protected]>

Berto


.




Reply via email to