]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't clear REQ_F_LINK_TIMEOUT
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 22 Mar 2021 01:58:24 +0000 (01:58 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 11 Apr 2021 23:41:59 +0000 (17:41 -0600)
commitdc688951f7efbfc7677eb264fe915ab440968081
tree4cc78f2b12780e19f41fe11ac15520f7a6e0fe02
parente1acab37e93dd1a0cb0a7afc92e785f65a6484b4
io_uring: don't clear REQ_F_LINK_TIMEOUT

REQ_F_LINK_TIMEOUT is a hint that to look for linked timeouts to cancel,
we're leaving it even when it's already fired. Hence don't care to clear
it in io_kill_linked_timeout(), it's safe and is called only once.

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