Commit d1e0c2ef authored by Jens Axboe's avatar Jens Axboe Committed by Greg Kroah-Hartman

block: export blk_{get,put}_queue()

commit d86e0e83 upstream.

We need them in SCSI to fix a bug, but currently they are not
exported to modules. Export them.
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6091e057
......@@ -310,6 +310,7 @@ void blk_unplug_timeout(unsigned long data)
trace_block_unplug_timer(q);
kblockd_schedule_work(q, &q->unplug_work);
}
EXPORT_SYMBOL(blk_put_queue);
void blk_unplug(struct request_queue *q)
{
......@@ -612,6 +613,7 @@ int blk_get_queue(struct request_queue *q)
return 1;
}
EXPORT_SYMBOL(blk_get_queue);
static inline void blk_free_request(struct request_queue *q, struct request *rq)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment