io_uring: add ring freeing helper
authorJens Axboe <axboe@kernel.dk>
Fri, 5 Nov 2021 23:15:46 +0000 (17:15 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Apr 2023 01:10:06 +0000 (19:10 -0600)
commit93e34ce8b81c917f34bdde5f677d355cb59e6d4f
tree478ee550b7550de52146e85a536cd4938e05672a
parent235381de300c6d8bc05bb17ca4470b661e209b64
io_uring: add ring freeing helper

We do rings and sqes separately, move them into a helper that does both
the freeing and clearing of the memory.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c