io_uring: reuse io_alloc_req()
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 16 Oct 2022 20:30:50 +0000 (21:30 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Oct 2022 13:24:23 +0000 (15:24 +0200)
commit1ec01ef0f8bbc6fee2488248d8dc0dc04589680b
treed78eef5635624d91a78676ecf8be7cc355c2a389
parentaa9e86824a5546002291c4371186f70a3acf75d3
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