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>
Fri, 13 May 2022 15:06:13 +0000 (09:06 -0600)
commit68d3d76273191ed1b0eb38dcabdb11086238f411
treeb13b8460c79aa7c6cb1c51674a4ed49c9eb4aecf
parent8914ff43cab8f6c84961fdd235caada9155cb86b
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>
fs/io_uring.c