提交 1476b6d4 编写于 作者: D Daniel Veillard

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

  by mistake, patch by Dave Allan.
daniel
上级 eb6d21cc
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
......
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册