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

Re: [libvirt] [PATCH 5/5] qemu: snapshot: Simplify error paths



On 09/03/2014 07:53 AM, Peter Krempa wrote:
> Return failure right away when the domain object can't be looked up
> instead of jumping to cleanup. This allows to remove the condition
> before unlocking the domain object.
> ---
>  src/qemu/qemu_driver.c | 65 ++++++++++++++++++++------------------------------
>  1 file changed, 26 insertions(+), 39 deletions(-)
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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