summaryrefslogtreecommitdiffstats
path: root/io_uring/timeout.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-11-03 18:22:43 +0100
committerJens Axboe <axboe@kernel.dk>2024-11-06 21:55:38 +0100
commitf03baece08188f2e239c0ca0c098c14c71739ffb (patch)
treee4822f2413609cb1b81bb226abdcaef8dd20ca17 /io_uring/timeout.h
parentio_uring/rsrc: split io_kiocb node type assignments (diff)
downloadlinux-f03baece08188f2e239c0ca0c098c14c71739ffb.tar.xz
linux-f03baece08188f2e239c0ca0c098c14c71739ffb.zip
io_uring: move cancelations to be io_uring_task based
Right now the task_struct pointer is used as the key to match a task, but in preparation for some io_kiocb changes, move it to using struct io_uring_task instead. No functional changes intended in this patch. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.h')
-rw-r--r--io_uring/timeout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/timeout.h b/io_uring/timeout.h
index a6939f18313e..e91b32448dcf 100644
--- a/io_uring/timeout.h
+++ b/io_uring/timeout.h
@@ -24,7 +24,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,
+__cold bool io_kill_timeouts(struct io_ring_ctx *ctx, struct io_uring_task *tctx,
bool cancel_all);
void io_queue_linked_timeout(struct io_kiocb *req);
void io_disarm_next(struct io_kiocb *req);