io_uring: clean up io_queue_sqe_arm_apoll
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 2 Nov 2021 14:38:52 +0000 (14:38 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Nov 2021 15:26:14 +0000 (09:26 -0600)
commit9881024aab8094a53756c7aee42564306c8e3580
tree31d29d9e1c22735f0360bac170d714acc72b4b35
parentbfc484fe6abba4b89ec9330e0e68778e2a9856b2
io_uring: clean up io_queue_sqe_arm_apoll

The fix for linked timeout unprep got a bit distored with two rebases,
handle linked timeouts for IO_APOLL_READY as with all other cases, i.e.
queue it at the end of the function.

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