summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-04-08 08:58:44 +0300
committerJens Axboe <axboe@kernel.dk>2020-04-08 18:26:16 +0300
commitb1e50e549b1372d9742509230dc4af7dd521d984 (patch)
tree7ce3c1a55b6f4c354f94bd0164411806c3413d7e /block
parent709b302faddfac757d87df2080f900eccb1dc9e2 (diff)
downloadlinux-b1e50e549b1372d9742509230dc4af7dd521d984.tar.xz
io_uring: alloc req only after getting sqe
As io_get_sqe() split into 2 stage get/consume, get an sqe before allocating io_kiocb, so no free_req*() for a failure case is needed, and inline back __io_req_do_free(), which has only 1 user. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions