io_uring: fix overflow handling regression
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 2 Dec 2022 17:47:25 +0000 (17:47 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Dec 2022 15:20:10 +0000 (08:20 -0700)
commita8cf95f93610eb8282f8b6d0117ba78b74588d6b
tree7ff8b291a2c3df4c45a9afe14db1d293c3d8a399
parente5f30f6fb29a0b8fa7ca784e44571a610b949b04
io_uring: fix overflow handling regression

Because the single task locking series got reordered ahead of the
timeout and completion lock changes, two hunks inadvertently ended up
using __io_fill_cqe_req() rather than io_fill_cqe_req(). This meant
that we dropped overflow handling in those two spots. Reinstate the
correct CQE filling helper.

Fixes: f66f73421f0a ("io_uring: skip spinlocking for ->task_complete")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/rw.c