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>
Sun, 18 Dec 2022 18:20:05 +0000 (11:20 -0700)
commit837a504cdf7b0b77e29d08a28b136bb92ff8e934
treecbcf028f52a951cecd5322138f3e5269ce438aab
parent06b2f8a5314b9d8dafbbe5bf338a30c17d91b78f
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