block: move blk_rq_bio_prep() to linux/blk-mq.h
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tue, 10 Nov 2020 02:24:03 +0000 (18:24 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 1 Dec 2020 19:36:35 +0000 (20:36 +0100)
commit53ffabfd4ddb3a24c5603ae82eefb5537ecb5c20
treed6483910c8dcd8b3d3b5aaf387df0944beab6ded
parent47e9730c26a4a5d4eab2124d6bbeb94693e44b46
block: move blk_rq_bio_prep() to linux/blk-mq.h

This is a preparation patch to have minimal block layer request bio
append functionality in the context of the NVMeOF Passthru driver which
falls in the fast path and doesn't need calls from blk_rq_append_bio().

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk.h
include/linux/blk-mq.h