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>
Wed, 22 Jun 2022 17:08:09 +0000 (11:08 -0600)
commit6dd847a855f31469a7eff4e94051ebd68f3e6a9c
tree56d559b567c048eee43832eb6126616beef37651
parentc1d4e93d975a6e079387a68c651ad813e62210eb
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