diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-03-01 11:36:11 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-03-04 07:16:07 -0700 |
commit | a1967280a1e5fb2c331f23d162b3672d64ba2549 (patch) | |
tree | cd4d54af44ada2b2930889e310987d69b4e911dd | |
parent | 9e12d09cfdaf89db894abdad392bb8dcd6c0f464 (diff) |
io_uring/rsrc: include io_uring_types.h in rsrc.h
io_uring/rsrc.h uses several types from include/linux/io_uring_types.h.
Include io_uring_types.h explicitly in rsrc.h to avoid depending on
users of rsrc.h including io_uring_types.h first.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20250301183612.937529-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | io_uring/rsrc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/rsrc.h b/io_uring/rsrc.h index 8f912aa6bcc9..f10a1252b3e9 100644 --- a/io_uring/rsrc.h +++ b/io_uring/rsrc.h @@ -2,6 +2,7 @@ #ifndef IOU_RSRC_H #define IOU_RSRC_H +#include <linux/io_uring_types.h> #include <linux/lockdep.h> enum { |