Skip to content
Commit 0a2481cd authored by Jens Axboe's avatar Jens Axboe
Browse files

block: ensure bio_alloc_map_data() deals with ITER_UBUF correctly



This helper blindly copies the iovec, even if we don't have one.
Make this case a bit smarter by only doing so if we have an iovec
array to copy.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3a93e403
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment