diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-04-19 14:01:24 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-19 17:38:30 -0600 |
commit | da8d7f079b868ceab830309f80efc69d350576f3 (patch) | |
tree | 81a79dd156b69cef68d7fc85766e43993e236f23 /include | |
parent | ef697902a1328e4a205585612c98f476f25b97ef (diff) | |
download | linux-da8d7f079b868ceab830309f80efc69d350576f3.tar.bz2 |
block: Export blk_init_request_from_bio()
Export this function such that it becomes available to block
drivers.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matias Bjørling <m@bjorling.me>
Cc: Adam Manzanares <adam.manzanares@wdc.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 5b52b3d7818c..3470375952a1 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -924,6 +924,7 @@ extern int blk_register_queue(struct gendisk *disk); extern void blk_unregister_queue(struct gendisk *disk); extern blk_qc_t generic_make_request(struct bio *bio); extern void blk_rq_init(struct request_queue *q, struct request *rq); +extern void blk_init_request_from_bio(struct request *req, struct bio *bio); extern void blk_put_request(struct request *); extern void __blk_put_request(struct request_queue *, struct request *); extern struct request *blk_get_request(struct request_queue *, int, gfp_t); |