Re: [PATCH] rbd: Set r variable so it can be returned should an error occur

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

 



On Fri, Jan 15, 2016 at 01:52:16PM +0100, Wido den Hollander wrote:
> This was reported in bug #1298024 where r would be filled with the
> return code of rbd_open().
> 
> Should rbd_snap_unprotect() fail for any reason the virReportSystemError
> call would return 'Success' since rbd_open() succeeded.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1298024
> Signed-off-by: Wido den Hollander <wido@xxxxxxxxx>
> ---
>  src/storage/storage_backend_rbd.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 

ACK and pushed

Jan

Attachment: signature.asc
Description: Digital signature

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