block: export blk_get/put_queue for blkback
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sun, 22 Mar 2009 06:34:19 +0000 (23:34 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Apr 2011 22:26:02 +0000 (18:26 -0400)
Impact: build fix

I'm not sure if blkback should be using these functions, but in the
meantime export them to allow blkback to be a module.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
block/blk-core.c

index 90f22cc30799cf8bf71e25c4cf68718c3fbf0cf3..9b60e69a540020ed5f111811f63f81f74234eda6 100644 (file)
@@ -351,6 +351,7 @@ void blk_put_queue(struct request_queue *q)
 {
        kobject_put(&q->kobj);
 }
+EXPORT_SYMBOL_GPL(blk_put_queue);
 
 /*
  * Note: If a driver supplied the queue lock, it should not zap that lock
@@ -572,6 +573,7 @@ int blk_get_queue(struct request_queue *q)
 
        return 1;
 }
+EXPORT_SYMBOL_GPL(blk_get_queue);
 
 static inline void blk_free_request(struct request_queue *q, struct request *rq)
 {