projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d63b0e8
)
io_uring: include all deps for alloc_cache.h
author
Pavel Begunkov
<asml.silence@gmail.com>
Tue, 28 Jan 2025 20:56:09 +0000
(20:56 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 28 Jan 2025 22:10:40 +0000
(15:10 -0700)
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>
io_uring/alloc_cache.h
patch
|
blob
|
blame
|
history
diff --git
a/io_uring/alloc_cache.h
b/io_uring/alloc_cache.h
index cca96aff3277eb262bc904b2c6f0fb85cc753af7..28436f413bd2cc61116ded527c7ab435152a4558 100644
(file)
--- 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.
*/