Skip to content
Commit 8f3d7496 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: don't re-setup vecs/iter in io_resumit_prep() is already there



If we already have mapped the necessary data for retry, then don't set
it up again. It's a pointless operation, and we leak the iovec if it's
a large (non-stack) vec.

Fixes: b63534c4 ("io_uring: re-issue block requests that failed because of resources")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6200b0ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment