diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-05-27 01:44:43 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-27 01:45:45 -0400 |
commit | d86e0e83b32bc84600adb0b6ea1fce389b266682 (patch) | |
tree | 3b71c7692b00b0aa557d06c9cd0e84ba6b8532af /block/blk-core.c | |
parent | 700c4f3325495d2e0e619fb48b900ec942f1470b (diff) |
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: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-core.c')
-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 dd8ae71168c5..d2f8f4049abd 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -345,6 +345,7 @@ void blk_put_queue(struct request_queue *q) | |||
345 | { | 345 | { |
346 | kobject_put(&q->kobj); | 346 | kobject_put(&q->kobj); |
347 | } | 347 | } |
348 | EXPORT_SYMBOL(blk_put_queue); | ||
348 | 349 | ||
349 | /* | 350 | /* |
350 | * Note: If a driver supplied the queue lock, it should not zap that lock | 351 | * 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 | 567 | ||
567 | return 1; | 568 | return 1; |
568 | } | 569 | } |
570 | EXPORT_SYMBOL(blk_get_queue); | ||
569 | 571 | ||
570 | static inline void blk_free_request(struct request_queue *q, struct request *rq) | 572 | static inline void blk_free_request(struct request_queue *q, struct request *rq) |
571 | { | 573 | { |