io_uring: define a request type cleanup handler
authorJens Axboe <axboe@kernel.dk>
Tue, 24 May 2022 16:26:28 +0000 (10:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:34:06 +0000 (08:34 -0600)
commit24210d3b02f920fab6474e1aea59301029133453
treebe55528dd1854b04c0d996e98393a26fbde83b66
parent6273e727d185763d5f59f89e814174eada645913
io_uring: define a request type cleanup handler

This can move request type specific cleanup into a private handler,
removing the need for the core io_uring parts to know what types
they are dealing with.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c