diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-09-12 12:03:37 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-09-12 12:08:31 +0200 |
commit | c20e8de27fef9f59869c81c288ad6cf28200e00c (patch) | |
tree | c1d972bfdf6b0f562169a923f2d77f422578fac1 /block | |
parent | 166e1f901b01872e8b70733a3f2e2c6980389cf8 (diff) | |
download | lwn-c20e8de27fef9f59869c81c288ad6cf28200e00c.tar.gz lwn-c20e8de27fef9f59869c81c288ad6cf28200e00c.zip |
block: rename __make_request() to blk_queue_bio()
Now that it's exported, lets put it in a more sane namespace.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 56ef387e7d27..ab673f0b8c30 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -540,7 +540,7 @@ blk_init_allocated_queue_node(struct request_queue *q, request_fn_proc *rfn, /* * This also sets hw/phys segments, boundary and size */ - blk_queue_make_request(q, __make_request); + blk_queue_make_request(q, blk_queue_bio); q->sg_reserved_size = INT_MAX; @@ -1211,7 +1211,7 @@ void init_request_from_bio(struct request *req, struct bio *bio) blk_rq_bio_prep(req->q, req, bio); } -int __make_request(struct request_queue *q, struct bio *bio) +int blk_queue_bio(struct request_queue *q, struct bio *bio) { const bool sync = !!(bio->bi_rw & REQ_SYNC); struct blk_plug *plug; @@ -1315,7 +1315,7 @@ out_unlock: out: return 0; } -EXPORT_SYMBOL_GPL(__make_request); /* for device mapper only */ +EXPORT_SYMBOL_GPL(blk_queue_bio); /* for device mapper only */ /* * If bio->bi_dev is a partition, remap the location |