diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-05-27 07:44:43 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2011-08-01 13:54:54 -0700 |
commit | f253441b14e828b6cb0c8d030d3985738730e5fd (patch) | |
tree | d340b7cb0c6ffe6c9e607cb31695578ca64eb983 /block | |
parent | 26d4cb6db4636d5d53d22500abb4be201b8fb8e5 (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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
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 f0640d7f800f..3b3affd0885b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -311,6 +311,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) { @@ -640,6 +641,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) { |