[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Remove some old debugging code



The attached patch removes some debugging code accidentally applied with
my async vol creation patches.

Thanks,
Cole
commit 69517422d2bda6efd74d7dc976267c2ff9250300
Author: Cole Robinson <crobinso redhat com>
Date:   Fri May 1 10:17:30 2009 -0400

    Remove some debug code from storage_driver.c

diff --git a/src/storage_driver.c b/src/storage_driver.c
index 8c4a03a..b72f0a0 100644
--- a/src/storage_driver.c
+++ b/src/storage_driver.c
@@ -1251,12 +1251,6 @@ storageVolumeCreateXML(virStoragePoolPtr obj,
     volobj = virGetStorageVol(obj->conn, pool->def->name, voldef->name,
                               voldef->key);
 
-    if (0) {
-        printf("after vol lookup.\n");
-        virReportOOMError(obj->conn);
-        goto cleanup;
-    }
-
     if (volobj && backend->buildVol) {
         int buildret;
         virStorageVolDefPtr buildvoldef = NULL;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]