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, 27 Mar 2022 21:20:13 +0000 (15:20 -0600)
commit42940806159fa3f32ac528df449d630938c213db
treee52c314eb01621ff431ef6b9cab94af837b3f93e
parent5911f64be48792cc9ff602d1831f755b40cd934d
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