commit | c9abd7ad832b9eef06d887f4971894af5de617fd | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Oct 22 16:43:11 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 23 13:07:11 2020 -0600 |
tree | 37500f1fa493564cee31b9a8d0033448b81a1419 | |
parent | cdfcc3ee04599ce51e5c84432c177163637dd0e0 [diff] |
io_uring: don't defer put of cancelled ltimeout Inline io_link_cancel_timeout() and __io_kill_linked_timeout() into io_kill_linked_timeout(). That allows to easily move a put of a cancelled linked timeout out of completion_lock and to not deferring it. It is also much more readable when not scattered across three different functions. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>