[libvirt] [PATCH] Remove some old debugging code

Daniel P. Berrange berrange at redhat.com
Tue May 5 09:34:37 UTC 2009


On Mon, May 04, 2009 at 01:49:11PM -0400, Cole Robinson wrote:
> The attached patch removes some debugging code accidentally applied with
> my async vol creation patches.

ACK

> commit 69517422d2bda6efd74d7dc976267c2ff9250300
> Author: Cole Robinson <crobinso at 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;

> --
> Libvir-list mailing list
> Libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list


-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list