提交 2a9ca741 编写于 作者: C Cole Robinson

Remove some debug code from storage_driver.c

上级 48e9d686
Tue May 5 10:18:15 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/storage_driver.c: Remove some debug code from storage_driver.c
Tue May 5 10:16:56 EDT 2009 Cole Robinson <crobinso@redhat.com> Tue May 5 10:16:56 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/libvirt.c: Use proper error code in virStorageVolCreateXML * src/libvirt.c: Use proper error code in virStorageVolCreateXML
......
...@@ -1251,12 +1251,6 @@ storageVolumeCreateXML(virStoragePoolPtr obj, ...@@ -1251,12 +1251,6 @@ storageVolumeCreateXML(virStoragePoolPtr obj,
volobj = virGetStorageVol(obj->conn, pool->def->name, voldef->name, volobj = virGetStorageVol(obj->conn, pool->def->name, voldef->name,
voldef->key); voldef->key);
if (0) {
printf("after vol lookup.\n");
virReportOOMError(obj->conn);
goto cleanup;
}
if (volobj && backend->buildVol) { if (volobj && backend->buildVol) {
int buildret; int buildret;
virStorageVolDefPtr buildvoldef = NULL; virStorageVolDefPtr buildvoldef = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册