diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-03-29 00:10:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-29 17:55:18 +0300 |
commit | 0a2481cde24f78f503cbc066df2c9c160e64cfd6 (patch) | |
tree | 2d9ab0a38d3580220639c5677ae7f690dc6afe3b /io_uring/rw.c | |
parent | 3a93e40326c8f470e71d20b4c42d36767450f38f (diff) | |
download | linux-0a2481cde24f78f503cbc066df2c9c160e64cfd6.tar.xz |
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rw.c')
0 files changed, 0 insertions, 0 deletions