summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-03-21 23:34:19 -0700
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-04-14 18:26:02 -0400
commit690f1b63b2db88330834d8482f3b125990c8e609 (patch)
treef8be9f36a052bf03e746a27b3d23a937cb0d0e44
parent8270b45bc8a45eef4a224bd256bd0997d4fd857e (diff)
downloadop-kernel-dev-690f1b63b2db88330834d8482f3b125990c8e609.zip
op-kernel-dev-690f1b63b2db88330834d8482f3b125990c8e609.tar.gz
block: export blk_get/put_queue for blkback
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>
-rw-r--r--block/blk-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 90f22cc..9b60e69 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -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)
{
OpenPOWER on IntegriCloud