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

Re: [libvirt] [PATCH 1/2] Fix cleanup when state driver init fails



On Fri, Nov 13, 2009 at 9:21 PM, Daniel P. Berrange <berrange redhat com> wrote:
> * daemon/libvirtd.c: Fix incorrect goto label causing cleanup to
>  be missed when state driver init fails
> ---
>  daemon/libvirtd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
> index ef07460..1caa4ce 100644
> --- a/daemon/libvirtd.c
> +++ b/daemon/libvirtd.c
> @@ -3153,7 +3153,7 @@ int main(int argc, char **argv) {
>      * seriously delay OS bootup process */
>     if (virStateInitialize(server->privileged) < 0) {
>         VIR_ERROR0("Driver state initialization failed");
> -        goto error;
> +        goto shutdown;
>     }

ACK

  ozaki-r

>
>     /* Start accepting new clients from network */
> --
> 1.6.2.5
>
> --
> Libvir-list mailing list
> Libvir-list redhat com
> https://www.redhat.com/mailman/listinfo/libvir-list
>


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