diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-06-21 10:09:01 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-24 18:39:15 -0600 |
commit | a6b21fbb4ce3c4976ba478a9f0f10d4163038478 (patch) | |
tree | eb625a61f42d1aa1adbc7bcda1f885998ceb1f87 /io_uring/io-wq.c | |
parent | 625d38b3fd34c58afb969810c4b3105eabb3b143 (diff) |
io_uring: move list helpers to a separate file
It's annoying to have io-wq.h as a dependency every time we want some of
struct io_wq_work_list helpers, move them into a separate file.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c1d891ce12b30767d1d2a3b7db2ca3abc1ecc4a2.1655802465.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io-wq.c')
-rw-r--r-- | io_uring/io-wq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/io-wq.c b/io_uring/io-wq.c index 824623bcf1a5..3e34dfbdf946 100644 --- a/io_uring/io-wq.c +++ b/io_uring/io-wq.c @@ -18,6 +18,7 @@ #include <uapi/linux/io_uring.h> #include "io-wq.h" +#include "slist.h" #define WORKER_IDLE_TIMEOUT (5 * HZ) |