提交 37754a74 编写于 作者: E Eric Blake

maint: fix typos

Our XML prefers "shareable" over "sharable".

* docs/internals/locking.html.in: s/sharable/shareable/
* src/locking/lock_driver_sanlock.c
(virLockManagerSanlockAddResource): Likewise.
上级 e962a579
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<p> <p>
The high level goal is to prevent the same disk image being The high level goal is to prevent the same disk image being
used by more than one QEMU instance at a time (unless the used by more than one QEMU instance at a time (unless the
disk is marked as sharable, or readonly). The scenarios disk is marked as shareable, or readonly). The scenarios
to be prevented are thus: to be prevented are thus:
</p> </p>
......
...@@ -634,7 +634,7 @@ static int virLockManagerSanlockAddResource(virLockManagerPtr lock, ...@@ -634,7 +634,7 @@ static int virLockManagerSanlockAddResource(virLockManagerPtr lock,
} }
if (flags & VIR_LOCK_MANAGER_RESOURCE_SHARED) { if (flags & VIR_LOCK_MANAGER_RESOURCE_SHARED) {
virLockError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", virLockError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Sharable leases are not supported")); _("Shareable leases are not supported"));
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册