Linux-Fsdevel Archive on
help / color / mirror / Atom feed
* [PATCH] io_uring: include linux/pagemap.h
@ 2020-05-27 13:48 Arnd Bergmann
  0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2020-05-27 13:48 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Arnd Bergmann, Alexander Viro, Pavel Begunkov, linux-fsdevel,
	io-uring, linux-kernel

I observed a build regression in ARM randconfig builds:

fs/io_uring.c:500:26: error: field has incomplete type 'struct wait_page_queue'
        struct wait_page_queue          wpq;

Include the missing header file that defines the structure
to make it build again.

Fixes: ad9e8c18aaa2 ("io_uring: support true async buffered reads, if file provides it")
Signed-off-by: Arnd Bergmann <>
 fs/io_uring.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index d292b992f945..5e2a0a8809a5 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -55,6 +55,7 @@
 #include <linux/fdtable.h>
 #include <linux/mm.h>
 #include <linux/mman.h>
+#include <linux/pagemap.h>
 #include <linux/percpu.h>
 #include <linux/slab.h>
 #include <linux/kthread.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-27 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 13:48 [PATCH] io_uring: include linux/pagemap.h Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).