io_uring: remove timeout.list after hrtimer cancel
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 10 Oct 2020 17:34:11 +0000 (18:34 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Oct 2020 18:49:25 +0000 (12:49 -0600)
commita71976f3fa474d0aa9b33fc2ecaa67af6103bb71
tree578a4ddec84bdb7fbd6c820444539451899bec2c
parent0bdf7a2ddb7d8b28d1c9f505e7f32aa2972d461b
io_uring: remove timeout.list after hrtimer cancel

Remove timeouts from ctx->timeout_list after hrtimer_try_to_cancel()
successfully cancels it. With this we don't need to care whether there
was a race and it was removed in io_timeout_fn(), and that will be handy
for following patches.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c