[libvirt] [PATCH] Remove some old debugging code

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

 



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

Thanks,
Cole
commit 69517422d2bda6efd74d7dc976267c2ff9250300
Author: Cole Robinson <crobinso@xxxxxxxxxx>
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;
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]