Skip to contentSkip to conversation

2.4.22pre10: fs/aio.c should include <linux/poll.h>

PATCH In review Chip Salzenberg 2 participants 3 messages Aug 4, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

fs/aio.c renamed from fs/aio.c.old +1 -0
@@ -12,4 +12,5 @@
 #include <linux/errno.h>
 #include <linux/time.h>
+#include <linux/poll.h>
 #include <linux/aio_abi.h>
 
Signature · 3 lines
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
#1 lore raw
Quoted 2 lines · Chip Salzenberg

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.

#2 lore raw

According to Christoph Hellwig:

Quoted 5 lines · Chip Salzenberg
Quoted 2 lines

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.

Signature · 3 lines
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