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>
Mon, 25 Jul 2022 00:39:11 +0000 (18:39 -0600)
commit4d4c9cff4f702d10f65473a6b4994ce1a13e64ff
treec0290ec64c6c09db48c32bd3311b62aaf77c1de6
parent890968dc03361b92957e183fe8f692371e4ef18b
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