]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1e3f456238c2b74ced3fa5deaccc41eca4d6262
treec5ee019a325bee6b7f158ff409f383781186fa3f
parentf07746b7f44c6d3523876b086bc046ad5708ed19
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