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

Eric Blake eblake at redhat.com
Sat Sep 6 19:52:04 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140906/e6a61def/attachment-0001.sig>


More information about the libvir-list mailing list