]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't unnecessarily clear F_LINK_TIMEOUT
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 13 Oct 2020 08:43:57 +0000 (09:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 17 Oct 2020 15:25:42 +0000 (09:25 -0600)
commit09dab3db3302fcb6a0f5307ba4b3fe26e40a88d3
tree3d94761c0f95d6dd01cdab23afd9dbd793859d42
parentd0c1124a7bf279aad83b3530c6202767175f74f6
io_uring: don't unnecessarily clear F_LINK_TIMEOUT

If a request had REQ_F_LINK_TIMEOUT it would've been cleared in
__io_kill_linked_timeout() by the time of __io_fail_links(), so no need
to care about it.

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