summaryrefslogtreecommitdiffstats
path: root/io_uring/timeout.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-19 03:44:33 +0200
committerJens Axboe <axboe@kernel.dk>2022-07-25 02:39:14 +0200
commitad163a7e2562230c77102c60f668bac440e60cce (patch)
treed693fdbf3837221c5952abc39fb954f18126f273 /io_uring/timeout.h
parentio_uring: clean up tracing events (diff)
downloadlinux-ad163a7e2562230c77102c60f668bac440e60cce.tar.xz
linux-ad163a7e2562230c77102c60f668bac440e60cce.zip
io_uring: move a few private types to local headers
Commit 3a3d47fa9cfd ("io_uring: make io_uring_types.h public") moved a bunch of io_uring types to a kernel wide header, so we could make tracing a bit saner rather than pass in a ton of arguments. However, there are a few types in there that are not really needed to be system wide. Move the cancel data and mapped buffers back to the appropriate io_uring local headers. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.h')
-rw-r--r--io_uring/timeout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/timeout.h b/io_uring/timeout.h
index dd7cfb0d9366..858c62644897 100644
--- a/io_uring/timeout.h
+++ b/io_uring/timeout.h
@@ -22,6 +22,7 @@ static inline struct io_kiocb *io_disarm_linked_timeout(struct io_kiocb *req)
}
__cold void io_flush_timeouts(struct io_ring_ctx *ctx);
+struct io_cancel_data;
int io_timeout_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd);
__cold bool io_kill_timeouts(struct io_ring_ctx *ctx, struct task_struct *tsk,
bool cancel_all);