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, 10 Jul 2023 16:51:28 +0000 (10:51 -0600)
commit2cc5894e576ba87a6a35f6c6a0408cec55359ecd
treec2a16e524c698ed7cc56926e0216cadbfb1243d8
parentd08c19cc85ea6ac4581d394db1a4ca366d9ad82c
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