Re: [patch] Fix epoll delayed initialization bug ...

From: Andrew Morton
Date: Fri Sep 16 2005 - 18:53:49 EST


Davide Libenzi <davidel@xxxxxxxxxxxxxxx> wrote:
>
> diff -Nru linux-2.6.13.vanilla/fs/eventpoll.c linux-2.6.13/fs/eventpoll.c
> --- linux-2.6.13.vanilla/fs/eventpoll.c 2005-09-16 15:20:46.000000000 -0700
> +++ linux-2.6.13/fs/eventpoll.c 2005-09-16 15:21:08.000000000 -0700
> @@ -231,8 +231,9 @@
>
> static void ep_poll_safewake_init(struct poll_safewake *psw);
> static void ep_poll_safewake(struct poll_safewake *psw, wait_queue_head_t *wq);
> -static int ep_getfd(int *efd, struct inode **einode, struct file **efile);
> -static int ep_file_init(struct file *file);
> +static int ep_getfd(int *efd, struct inode **einode, struct file **efile,
> + struct eventpoll *ep);
> +static int ep_alloc(struct eventpoll **pep);

Sigh. Space-stuffing strikes again. Please resend as an attachment.

The number of whitespace-buggered patches which are coming in is just
getting out of control lately.

Even `patch -l' tossed four rejects, so there may be something else wrong
in this one.

-
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/