io_uring/timeout: always set 'ctx' in io_cancel_data
authorJens Axboe <axboe@kernel.dk>
Fri, 23 Jun 2023 15:34:08 +0000 (09:34 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Jul 2023 16:05:48 +0000 (10:05 -0600)
commitfaa9c0ee3cab9c68b79183c9e0111ba967d9f402
tree3104045b604b73d3bf8d6b84b0e985b14c58441e
parentad711c5d113f53d6f16096dd6ed9f4939a857149
io_uring/timeout: always set 'ctx' in io_cancel_data

In preparation for using a generic handler to match requests for
cancelation purposes, ensure that ctx is set in io_cancel_data. The
timeout handlers don't check for this as it'll always match, but we'll
need it set going forward.

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