[PATCH 3/6] chDomainCreateXML: Drop spurious driver unlock
Michal Privoznik
mprivozn at redhat.com
Thu Feb 10 15:51:31 UTC 2022
Inside chDomainCreateXML(), towards the end, the driver is
unlocked even though there is no corresponding driver lock call
before that. Drop it.
Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
src/ch/ch_driver.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c
index 2ed33c3446..b023f7e3d3 100644
--- a/src/ch/ch_driver.c
+++ b/src/ch/ch_driver.c
@@ -239,7 +239,6 @@ chDomainCreateXML(virConnectPtr conn,
virDomainObjListRemove(driver->domains, vm);
}
virDomainObjEndAPI(&vm);
- chDriverUnlock(driver);
return dom;
}
--
2.34.1
More information about the libvir-list
mailing list