Re: [PATCH] [11/11] Convert uio to fasync_unlocked

From: Hans J. Koch
Date: Mon May 19 2008 - 09:40:39 EST


On Mon, May 19, 2008 at 02:48:32PM +0200, Andi Kleen wrote:
> Andi Kleen <andi@xxxxxxxxxxxxxx> writes:
>
> > Just calls fasync_helper
> >
> > Cc: hjk@xxxxxxxxxxxxx
>
> Sorry that one was missing a quilt refresh. Here's the real patch.
> Not very exciting.

Patch looks alright to me, but Greg KH should be cc'ed for UIO patches
as well.

>
> -Andi
>
> ---
>
> Convert uio to fasync_unlocked
>
> Just calls fasync_helper
>
> Cc: hjk@xxxxxxxxxxxxx
Cc: gregkh@xxxxxxx
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>

Acked-by: Hans J. Koch <hjk@xxxxxxxxxxxxx>

>
> Index: linux/drivers/uio/uio.c
> ===================================================================
> --- linux.orig/drivers/uio/uio.c
> +++ linux/drivers/uio/uio.c
> @@ -541,7 +541,7 @@ static const struct file_operations uio_
> .read = uio_read,
> .mmap = uio_mmap,
> .poll = uio_poll,
> - .fasync = uio_fasync,
> + .unlocked_fasync = uio_fasync,
> };
>
> static int uio_major_init(void)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/