mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-24 12:22:20 +00:00
maint: fix typos related to 'frozen'
"Freezed" is not an English word. * src/lxc/lxc_driver.c (lxcFreezeContainer): Fix typo. * src/qemu/qemu_driver.c (qemuDomainSnapshotFSFreeze): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
e087911786
commit
b4e4dfffdb
@ -3231,7 +3231,7 @@ static int lxcFreezeContainer(virDomainObjPtr vm)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Returning EBUSY explicitly indicates that the group is
|
* Returning EBUSY explicitly indicates that the group is
|
||||||
* being freezed but incomplete and other errors are true
|
* being frozen but incomplete, and other errors are true
|
||||||
* errors.
|
* errors.
|
||||||
*/
|
*/
|
||||||
if (r < 0 && r != -EBUSY) {
|
if (r < 0 && r != -EBUSY) {
|
||||||
|
@ -12091,7 +12091,7 @@ qemuDomainSnapshotFSFreeze(virQEMUDriverPtr driver,
|
|||||||
{
|
{
|
||||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||||
virQEMUDriverConfigPtr cfg;
|
virQEMUDriverConfigPtr cfg;
|
||||||
int freezed;
|
int frozen;
|
||||||
|
|
||||||
if (priv->quiesced) {
|
if (priv->quiesced) {
|
||||||
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
|
||||||
@ -12113,9 +12113,9 @@ qemuDomainSnapshotFSFreeze(virQEMUDriverPtr driver,
|
|||||||
virObjectUnref(cfg);
|
virObjectUnref(cfg);
|
||||||
|
|
||||||
qemuDomainObjEnterAgent(vm);
|
qemuDomainObjEnterAgent(vm);
|
||||||
freezed = qemuAgentFSFreeze(priv->agent);
|
frozen = qemuAgentFSFreeze(priv->agent);
|
||||||
qemuDomainObjExitAgent(vm);
|
qemuDomainObjExitAgent(vm);
|
||||||
return freezed < 0 ? -2 : freezed;
|
return frozen < 0 ? -2 : frozen;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return -1 on error, otherwise number of thawed filesystems. */
|
/* Return -1 on error, otherwise number of thawed filesystems. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user