diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-05-27 07:44:43 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-05-17 11:20:43 -0400 |
commit | cf72dbd757c58e568df27c1d6b8c96e0642b8384 (patch) | |
tree | b2c26143525dc5049b4fa538d0eb0c24ab0ae61c /block | |
parent | 100e29252dea85662e164bc03e53e3e9a660afe1 (diff) |
block: export blk_{get,put}_queue()
commit d86e0e83b32bc84600adb0b6ea1fce389b266682 upstream.
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index dd9795d8868..94f274bc968 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -439,6 +439,7 @@ void blk_put_queue(struct request_queue *q) { kobject_put(&q->kobj); } +EXPORT_SYMBOL(blk_put_queue); void blk_cleanup_queue(struct request_queue *q) { @@ -612,6 +613,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) { |