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>
Tue, 16 May 2023 14:04:49 +0000 (08:04 -0600)
commit9c189eee73af1825ea9c895fafad469de5f82641
tree3e824b5d5aaee1fa30efa5b80ed5dfd8b6f5de51
parente27cef86a0edd4ef7f8b4670f508a03b509cbbb2
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