提交 d86e0e83 编写于 作者: J Jens Axboe

block: export blk_{get,put}_queue()

We need them in SCSI to fix a bug, but currently they are not
exported to modules. Export them.
Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
上级 700c4f33
...@@ -345,6 +345,7 @@ void blk_put_queue(struct request_queue *q) ...@@ -345,6 +345,7 @@ void blk_put_queue(struct request_queue *q)
{ {
kobject_put(&q->kobj); kobject_put(&q->kobj);
} }
EXPORT_SYMBOL(blk_put_queue);
/* /*
* Note: If a driver supplied the queue lock, it should not zap that lock * Note: If a driver supplied the queue lock, it should not zap that lock
...@@ -566,6 +567,7 @@ int blk_get_queue(struct request_queue *q) ...@@ -566,6 +567,7 @@ int blk_get_queue(struct request_queue *q)
return 1; return 1;
} }
EXPORT_SYMBOL(blk_get_queue);
static inline void blk_free_request(struct request_queue *q, struct request *rq) static inline void blk_free_request(struct request_queue *q, struct request *rq)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册