Re: [PATCH 2/3] Fix error codes for missing storage pools

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

 



On Thu, May 27, 2010 at 05:00:11PM +0100, Daniel P. Berrange wrote:
> The storage pool driver is mistakenly using the error code
> VIR_ERR_INVALID_STORAGE_POOL which is for diagnosing invalid
> pointers. This patch switches it to use VIR_ERR_NO_STORAGE_POOL
> which is the correct code for cases where the storage pool does
> not exist
> 
> * src/storage/storage_driver.c: Replace VIR_ERR_INVALID_STORAGE_POOL
>   with VIR_ERR_NO_STORAGE_POOL
> ---
>  src/storage/storage_driver.c |   50 +++++++++++++++++++++---------------------
>  1 files changed, 25 insertions(+), 25 deletions(-)

ACK

Dave

--
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]