io_uring: have cancelation API accept io_uring_task directly
authorJens Axboe <axboe@kernel.dk>
Sat, 18 Jun 2022 15:23:54 +0000 (09:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jun 2022 17:33:16 +0000 (11:33 -0600)
commit6862ab36f84b84e4893dfc9504a5ae988bd425a1
tree4891d03e6942a39690bf42d4331d15028b1784f7
parentef3d98fd33475ca48446fdf19663f80d45942f6f
io_uring: have cancelation API accept io_uring_task directly

We just use the io_kiocb passed in to find the io_uring_task, and we
already pass in the ctx via cd->ctx anyway.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/cancel.c
io_uring/cancel.h
io_uring/timeout.c