diff options
| author | Jens Axboe <[email protected]> | 2025-05-16 19:16:44 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-05-18 00:47:18 +0000 |
| commit | c80bdb1c55719cd6308d648a7920272a3be09e34 (patch) | |
| tree | af6078e0e54e004fcec91246c103e8728e142c78 /io_uring/uring_cmd.c | |
| parent | io_uring: make io_alloc_ocqe() take a struct io_cqe pointer (diff) | |
| download | kernel-c80bdb1c55719cd6308d648a7920272a3be09e34.tar.gz kernel-c80bdb1c55719cd6308d648a7920272a3be09e34.zip | |
io_uring: pass in struct io_big_cqe to io_alloc_ocqe()
Rather than pass extra1/extra2 separately, just pass in the (now) named
io_big_cqe struct instead. The callers that don't use/support CQE32 will
now just pass a single NULL, rather than two seperate mystery zero
values.
Move the clearing of the big_cqe elements into io_alloc_ocqe() as well,
so it can get moved out of the generic code.
Reviewed-by: Caleb Sander Mateos <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/uring_cmd.c')
0 files changed, 0 insertions, 0 deletions
