summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-02-02 17:01:07 +0100
committerJens Axboe <axboe@kernel.dk>2022-02-04 15:43:18 +0100
commit92986f6b4c8a2c24d3a36b80140624f80fd93de4 (patch)
tree16225c5aede600c6adbd5d09d38d7044f003da2b /block
parentblock: clone crypto and integrity data in __bio_clone_fast (diff)
downloadlinux-92986f6b4c8a2c24d3a36b80140624f80fd93de4.tar.xz
linux-92986f6b4c8a2c24d3a36b80140624f80fd93de4.zip
dm: use bio_clone_fast in alloc_io/alloc_tio
Replace open coded bio_clone_fast implementations with the actual helper. Note that the bio allocated as part of the dm_io structure in alloc_io will only actually be used later in alloc_tio, making this earlier cloning of the information safe. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Link: https://lore.kernel.org/r/20220202160109.108149-12-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions