]> git.hungrycats.org Git - linux/commitdiff
block: export blk_{get,put}_queue()
authorJens Axboe <jaxboe@fusionio.com>
Fri, 27 May 2011 05:44:43 +0000 (07:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:28:39 +0000 (15:28 -0700)
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>
block/blk-core.c

index d1a9a0a64f95b5295314bec0ef6c2e96d99775b2..bcb60ea0840138f207b0d5c2882cf24d5a919664 100644 (file)
@@ -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)
 {