[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] block: avoid SIGUSR2
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] block: avoid SIGUSR2 |
Date: |
Mon, 19 Sep 2011 15:05:47 +0100 |
On Mon, Sep 19, 2011 at 12:54 PM, Frediano Ziglio <address@hidden> wrote:
> @@ -547,7 +549,7 @@ static int posix_aio_flush(void *opaque)
>
> static PosixAioState *posix_aio_state;
>
> -static void aio_signal_handler(int signum)
> +static void posix_aio_notify_event(void)
> {
> if (posix_aio_state) {
Seems like this if statement is always true, hence the condition can
be removed. The posix_aio_state global is always non-NULL here.
Stefan