]> git.baikalelectronics.ru Git - kernel.git/commit
block: pass a block_device and opf to blk_next_bio
authorChaitanya Kulkarni <kch@nvidia.com>
Mon, 24 Jan 2022 09:11:02 +0000 (10:11 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Feb 2022 14:49:59 +0000 (07:49 -0700)
commit3588819fc34efe6d460f28cea292f0331857892c
treebddc6fc46c05cede8a67a56092f56affcb05b55d
parentba671e2d76cb94ab76779ce4c1a63171b5a849e7
block: pass a block_device and opf to blk_next_bio

All callers need to set the block_device and operation, so lift that into
the common code.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220124091107.642561-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/blk-lib.c
block/blk-zoned.c
block/blk.h
drivers/nvme/target/zns.c
include/linux/bio.h