io_uring: make io_fill_cqe_aux honour CQE32
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jun 2022 10:23:07 +0000 (11:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Jun 2022 11:06:56 +0000 (05:06 -0600)
commitc5595975b53a487bf329eeba65b5c5f34605a4c0
treea1152eed4f3fb550afa2008c0278c49bc8a26e87
parentcd94903d3ba50d7ae797c603f68996af8d1ba1a1
io_uring: make io_fill_cqe_aux honour CQE32

Don't let io_fill_cqe_aux() post 16B cqes for CQE32 rings, neither the
kernel nor the userspace expect this to happen.

Fixes: 76c68fbf1a1f9 ("io_uring: enable CQE32")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/64fae669fae1b7083aa15d0cd807f692b0880b9a.1655287457.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c