io_uring: reuse io_req_task_complete for timeouts
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 5 Dec 2021 14:38:00 +0000 (14:38 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 5 Dec 2021 15:56:24 +0000 (08:56 -0700)
commita90c8bf6590676035336ae98cc51bce1aeb96c33
tree90820d430695818daa99431261e3d0149da1cd09
parent83a13a4181b0e874d1f196e11b953c3c9f009f68
io_uring: reuse io_req_task_complete for timeouts

With kbuf unification io_req_task_complete() is now a generic function,
use it for timeout's tw completions.

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