提交 43577467 编写于 作者: E Eric Blake 提交者: Daniel P. Berrange

maint: fix comment typos

* src/lxc/lxc_controller.c (virLXCControllerSetupDisk): Fix typo.
* src/lxc/lxc_driver.c (lxcDomainAttachDeviceDiskLive): Likewise.
Signed-off-by: NEric Blake <eblake@redhat.com>
(cherry picked from commit 8de47efd)
上级 9c88f97a
...@@ -1696,7 +1696,7 @@ static int virLXCControllerSetupDisk(virLXCControllerPtr ctrl, ...@@ -1696,7 +1696,7 @@ static int virLXCControllerSetupDisk(virLXCControllerPtr ctrl,
goto cleanup; goto cleanup;
/* Labelling normally operates on src, but we need /* Labelling normally operates on src, but we need
* to actally label the dst here, so hack the config */ * to actually label the dst here, so hack the config */
def->src = dst; def->src = dst;
if (virSecurityManagerSetImageLabel(securityDriver, ctrl->def, def) < 0) if (virSecurityManagerSetImageLabel(securityDriver, ctrl->def, def) < 0)
goto cleanup; goto cleanup;
......
...@@ -3145,7 +3145,7 @@ lxcDomainAttachDeviceDiskLive(virLXCDriverPtr driver, ...@@ -3145,7 +3145,7 @@ lxcDomainAttachDeviceDiskLive(virLXCDriverPtr driver,
created = true; created = true;
/* Labelling normally operates on src, but we need /* Labelling normally operates on src, but we need
* to actally label the dst here, so hack the config */ * to actually label the dst here, so hack the config */
def->src = dst; def->src = dst;
if (virSecurityManagerSetImageLabel(driver->securityManager, if (virSecurityManagerSetImageLabel(driver->securityManager,
vm->def, def) < 0) vm->def, def) < 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册