2.4.22pre10: fs/aio.c should include <linux/poll.h>
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
Quoted 2 lines · Chip Salzenberg
Since
fs/aio.ccallsasync_poll(), it should include <linux/poll.h> to get its declaration.
There is no fs/aio.c in 2.4.22-pre10.
According to Christoph Hellwig:
Quoted 5 lines · Chip Salzenberg
Quoted 2 lines
Since
fs/aio.ccallsasync_poll(), it should include <linux/poll.h> to get its declaration.There is no
fs/aio.cin 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