summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-01-28 23:56:09 +0300
committerJens Axboe <axboe@kernel.dk>2025-01-29 01:10:40 +0300
commit299276502d41cd86376f47b7e087d017eaa0f914 (patch)
tree169acc0bb794140088dbc7e9bf4c88eb0ddf8769
parentd63b0e8a628e62ca85a0f7915230186bb92f8bb4 (diff)
downloadlinux-299276502d41cd86376f47b7e087d017eaa0f914.tar.xz
io_uring: include all deps for alloc_cache.h
alloc_cache.h uses types it doesn't declare and thus depends on the order in which it's included. Make it self contained and pull all needed definitions. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de> Link: https://lore.kernel.org/r/39569f3d5b250b4fe78bb609d57f67d3736ebcc4.1738087204.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--io_uring/alloc_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_uring/alloc_cache.h b/io_uring/alloc_cache.h
index cca96aff3277..28436f413bd2 100644
--- a/io_uring/alloc_cache.h
+++ b/io_uring/alloc_cache.h
@@ -1,6 +1,8 @@
#ifndef IOU_ALLOC_CACHE_H
#define IOU_ALLOC_CACHE_H
+#include <linux/io_uring_types.h>
+
/*
* Don't allow the cache to grow beyond this size.
*/