io_uring: reuse io_alloc_req()
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 16 Oct 2022 20:30:50 +0000 (21:30 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Oct 2022 23:08:42 +0000 (17:08 -0600)
commit34f0bc427e94065e7f828e70690f8fe1e01b3a9d
treee512de4abc48fd734453483970cfdb3787c1b9c8
parent4d5059512d283dab7372d282c2fbd43c7f5a2456
io_uring: reuse io_alloc_req()

Don't duplicate io_alloc_req() in io_req_caches_free() but reuse the
helper.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/6005fc88274864a49fc3096c22d8bdd605cf8576.1665891182.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c