io_uring: do post-completion chore on t-out cancel
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 25 Mar 2021 18:32:43 +0000 (18:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Sat, 27 Mar 2021 20:09:11 +0000 (14:09 -0600)
commit80c4cbdb5ee604712e59fe304d7bf084b562f705
treee763a90696e001006f3e96d46e892693067d2ea1
parent1ee4160c73b2102a52bc97a4128a89c34821414f
io_uring: do post-completion chore on t-out cancel

Don't forget about io_commit_cqring() + io_cqring_ev_posted() after
exit/exec cancelling timeouts. Both functions declared only after
io_kill_timeouts(), so to avoid tons of forward declarations move
it down.

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