2003-08-04 17:09:41

by Chip Salzenberg

[permalink] [raw]
Subject: [PATCH] 2.4.22pre10: fs/aio.c should include <linux/poll.h>

Since fs/aio.c calls async_poll(), it should include <linux/poll.h> to
get its declaration.

Index: linux/fs/aio.c
--- linux/fs/aio.c.old 2003-08-04 12:08:49.000000000 -0400
+++ linux/fs/aio.c 2003-08-04 12:50:45.000000000 -0400
@@ -12,4 +12,5 @@
#include <linux/errno.h>
#include <linux/time.h>
+#include <linux/poll.h>
#include <linux/aio_abi.h>


--
Chip Salzenberg - a.k.a. - <[email protected]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K


2003-08-04 22:02:16

by Christoph Hellwig

[permalink] [raw]
Subject: Re: [PATCH] 2.4.22pre10: fs/aio.c should include <linux/poll.h>

On Mon, Aug 04, 2003 at 01:09:00PM -0400, Chip Salzenberg wrote:
> Since fs/aio.c calls async_poll(), it should include <linux/poll.h> to
> get its declaration.

There is no fs/aio.c in 2.4.22-pre10.

2003-08-04 22:05:52

by Chip Salzenberg

[permalink] [raw]
Subject: Re: [PATCH] 2.4.22pre10: fs/aio.c should include <linux/poll.h>

According to Christoph Hellwig:
> On Mon, Aug 04, 2003 at 01:09:00PM -0400, Chip Salzenberg wrote:
> > Since fs/aio.c calls async_poll(), it should include <linux/poll.h> to
> > get its declaration.
>
> There is no fs/aio.c in 2.4.22-pre10.

Oops. It must be an 'aa' thing. I'll take this off line with Andrea.
--
Chip Salzenberg - a.k.a. - <[email protected]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K