]> git.ipfire.org Git - people/ms/linux.git/commit - block/bio.c
block: pass a block_device to bio_clone_fast
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Feb 2022 16:01:09 +0000 (17:01 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Feb 2022 14:43:18 +0000 (07:43 -0700)
commitabfc426d1b2fb2176df59851a64223b58ddae7e7
treec5ee019a325bee6b7f158ff409f383781186fa3f
parenta0e8de798dd6710a69d69ec57b246a0e34c4a695
block: pass a block_device to bio_clone_fast

Pass a block_device to bio_clone_fast and __bio_clone_fast and give
the functions more suitable names.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220202160109.108149-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
20 files changed:
Documentation/block/biodoc.rst
block/bio.c
block/blk-mq.c
block/bounce.c
drivers/block/drbd/drbd_req.c
drivers/block/drbd/drbd_worker.c
drivers/block/pktcdvd.c
drivers/md/bcache/request.c
drivers/md/dm-cache-target.c
drivers/md/dm-crypt.c
drivers/md/dm-zoned-target.c
drivers/md/dm.c
drivers/md/md-faulty.c
drivers/md/md-multipath.c
drivers/md/md.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
fs/btrfs/extent_io.c
include/linux/bio.h