diff options
| author | Jens Axboe <axboe@kernel.dk> | 2023-03-28 15:10:31 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2023-03-29 08:55:18 -0600 |
| commit | 0a2481cde24f78f503cbc066df2c9c160e64cfd6 (patch) | |
| tree | 2d9ab0a38d3580220639c5677ae7f690dc6afe3b /fs/btrfs/file.c | |
| parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (diff) | |
| download | linux-0a2481cde24f78f503cbc066df2c9c160e64cfd6.tar.gz linux-0a2481cde24f78f503cbc066df2c9c160e64cfd6.zip | |
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 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions
