[libvirt] [Patch]Fix bugs of Sheepdog storage driver

harryxiyou harryxiyou at gmail.com
Fri Feb 8 06:10:32 UTC 2013


On Fri, Feb 8, 2013 at 1:57 PM, Osier Yang <jyang at redhat.com> wrote:
[...]
> That's why I said in previous replyment "initialize ret", I mean
> this (see the top of the function):
>
>     int ret = -1;
>
> And with setting "ret" to 0 before cleanup:
>
>     ret = 0;
> cleanup:
>     virCommandFree(cmd);
>     return ret;
>

Okay, it looks well for me. I will give another patch. Thanks for
your help ;-)

-- 
Thanks
Harry Wei




More information about the libvir-list mailing list