From: Pavel Begunkov Date: Tue, 28 Jan 2025 20:56:09 +0000 (+0000) Subject: io_uring: include all deps for alloc_cache.h X-Git-Tag: v6.14-rc1~18^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=299276502d41cd86376f47b7e087d017eaa0f914;p=thirdparty%2Flinux.git 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 Reviewed-by: Gabriel Krisman Bertazi Link: https://lore.kernel.org/r/39569f3d5b250b4fe78bb609d57f67d3736ebcc4.1738087204.git.asml.silence@gmail.com Signed-off-by: Jens Axboe --- diff --git a/io_uring/alloc_cache.h b/io_uring/alloc_cache.h index cca96aff3277e..28436f413bd2c 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 + /* * Don't allow the cache to grow beyond this size. */