summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-04-19 14:01:24 -0700
committerJens Axboe <axboe@fb.com>2017-04-19 17:38:30 -0600
commitda8d7f079b868ceab830309f80efc69d350576f3 (patch)
tree81a79dd156b69cef68d7fc85766e43993e236f23 /block/blk.h
parentef697902a1328e4a205585612c98f476f25b97ef (diff)
downloadlinux-da8d7f079b868ceab830309f80efc69d350576f3.tar.gz
linux-da8d7f079b868ceab830309f80efc69d350576f3.tar.bz2
linux-da8d7f079b868ceab830309f80efc69d350576f3.zip
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 'block/blk.h')
-rw-r--r--block/blk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk.h b/block/blk.h
index 35b3041eec1a..2ed70228e44f 100644
--- a/block/blk.h
+++ b/block/blk.h
@@ -60,7 +60,6 @@ void blk_free_flush_queue(struct blk_flush_queue *q);
int blk_init_rl(struct request_list *rl, struct request_queue *q,
gfp_t gfp_mask);
void blk_exit_rl(struct request_list *rl);
-void init_request_from_bio(struct request *req, struct bio *bio);
void blk_rq_bio_prep(struct request_queue *q, struct request *rq,
struct bio *bio);
void blk_queue_bypass_start(struct request_queue *q);