]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:20:43 +0000 (11:20 -0400)
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: Paul Gortmaker <paul.gortmaker@windriver.com>
block/blk-core.c

index dd9795d88683347fc6602cff39522f2510e65a75..94f274bc9683a95ebd2f4c6a5a0cbda006fe15a7 100644 (file)
@@ -439,6 +439,7 @@ void blk_put_queue(struct request_queue *q)
 {
        kobject_put(&q->kobj);
 }
+EXPORT_SYMBOL(blk_put_queue);
 
 void blk_cleanup_queue(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)
 {