]> git.karo-electronics.de Git - karo-tx-linux.git/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:24:06 +0000 (15:24 -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 71da5111120c09a6b52c26bf509cb4c14269aab2..cffd73792633e1cbc1f4d2816cda53374de3a9ec 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)
 {