diff mbox series

io_uring: include linux/pagemap.h

Message ID 20200527134821.1001856-1-arnd@arndb.de (mailing list archive)
State New, archived
Headers show
Series io_uring: include linux/pagemap.h | expand

Commit Message

Arnd Bergmann May 27, 2020, 1:48 p.m. UTC
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 <arnd@arndb.de>
---
 fs/io_uring.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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>