Skip to content

Commit 2992765

Browse files
isilenceaxboe
authored andcommitted
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 <[email protected]> Reviewed-by: Gabriel Krisman Bertazi <[email protected]> Link: https://lore.kernel.org/r/39569f3d5b250b4fe78bb609d57f67d3736ebcc4.1738087204.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
1 parent d63b0e8 commit 2992765

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

io_uring/alloc_cache.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef IOU_ALLOC_CACHE_H
22
#define IOU_ALLOC_CACHE_H
33

4+
#include <linux/io_uring_types.h>
5+
46
/*
57
* Don't allow the cache to grow beyond this size.
68
*/

0 commit comments

Comments
 (0)