projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700c4f3
)
block: export blk_{get,put}_queue()
author
Jens Axboe
<jaxboe@fusionio.com>
Fri, 27 May 2011 05:44:43 +0000
(07:44 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Fri, 27 May 2011 05:45:45 +0000
(07:45 +0200)
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>
block/blk-core.c
patch
|
blob
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index dd8ae71168c5d44722cc0ca38d153ca8fbdb2d75..d2f8f4049abddbf76d3414cd85ef36d2d4027d07 100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-345,6
+345,7
@@
void blk_put_queue(struct request_queue *q)
{
kobject_put(&q->kobj);
}
+EXPORT_SYMBOL(blk_put_queue);
/*
* 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)
return 1;
}
+EXPORT_SYMBOL(blk_get_queue);
static inline void blk_free_request(struct request_queue *q, struct request *rq)
{