projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8270b45
)
block: export blk_get/put_queue for blkback
author
Jeremy Fitzhardinge
<jeremy.fitzhardinge@citrix.com>
Sun, 22 Mar 2009 06:34:19 +0000
(23:34 -0700)
committer
Konrad 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
patch
|
blob
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index
90f22cc
..
9b60e69
100644
(file)
--- 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)
{