diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-05-27 07:44:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-23 15:24:06 -0700 |
commit | d1e0c2efbd0e42138483ece9c1725f86b1ee0ef1 (patch) | |
tree | 6bd455a72590c5b192cd1570deb7e8923ee5b773 /block | |
parent | 6091e057356fe1ee68911f982a8c268e93590008 (diff) |
block: export blk_{get,put}_queue()
commit d86e0e83b32bc84600adb0b6ea1fce389b266682 upstream.
We need them in SCSI to fix a bug, but currently they are not
exported to modules. Export them.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 71da5111120c..cffd73792633 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -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) { |