io_uring.h should include <linux/fs.h>
authorJens Axboe <axboe@kernel.dk>
Tue, 8 Jan 2019 12:43:38 +0000 (05:43 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 Jan 2019 12:43:38 +0000 (05:43 -0700)
This ensures we have the __kernel_rwf_t definition.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/io_uring.h

index 61a37531c5894659d7d0e57c91cbb428c17631d9..8dda79512bbcc40398679408973e1ae44b4b2e42 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef IO_URING_H
 #define IO_URING_H
 
+#include <linux/fs.h>
+
 /*
  * IO submission data structure
  */