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, 14 May 2023 02:59:40 +0000 (20:59 -0600)
commite687f4ca200e5177e98ea2aaff9066c554777bb0
treecc58fe02e167913fee303669c8b65d46037748a9
parent5285e0367ab3bcac1ae0e35f9cf9a506d7527d1d
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