io_uring: always clear LINK_TIMEOUT after cancel
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 22 Oct 2020 15:43:10 +0000 (16:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Oct 2020 19:07:11 +0000 (13:07 -0600)
commitcdfcc3ee04599ce51e5c84432c177163637dd0e0
treeebfdaeb9313eba2ec9ec5f4389f440a26a4a8667
parentac877d2edd094e161801d72b49cfb56c5fc860fb
io_uring: always clear LINK_TIMEOUT after cancel

Move REQ_F_LINK_TIMEOUT clearing out of __io_kill_linked_timeout()
because it might return early and leave the flag set. It's not a
problem, but may be confusing.

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