io_uring: kill REQ_F_LTIMEOUT_ACTIVE
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 15 Aug 2021 09:40:23 +0000 (10:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:10:43 +0000 (13:10 -0600)
commitb97e736a4b553ff18963019c7ca91cd684f83709
tree7a93f47efc0a6a5fbc060112e6845a324930708b
parent8cb01fac982a3f8622a46821af1eb68136f936ca
io_uring: kill REQ_F_LTIMEOUT_ACTIVE

Instead of handling double consecutive linked timeouts through tricky
flag combinations, just check the submit_state.link during timeout_prep
and fail that case in advance.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/04150760b0dc739522264b8abd309409f7421a06.1628981736.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c