* src/storage_driver.c: don't destroy a pool when calling create

by mistake, patch by Dave Allan.
daniel
This commit is contained in:
Daniel Veillard committed 2009-07-01 08:33:22 +00:00
1 parent eb6d21cc0e
commit 1476b6d487
2 files changed
+7

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
Wed Jul 1 10:21:15 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/storage_driver.c: don't destroy a pool when calling create
by mistake, patch by Dave Allan.
Mon Jun 29 18:01:20 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Reduce LXC capabilities
+2
View File
@@ -476,6 +476,8 @@ storagePoolCreate(virConnectPtr conn,
if (pool) {
virStorageReportError(conn, VIR_ERR_INTERNAL_ERROR,
"%s", _("storage pool already exists"));
virStoragePoolObjUnlock(pool);
pool = NULL;
goto cleanup;
}