Commit d86e0e83b32bc84600adb0b6ea1fce389b266682

Authored by Jens Axboe
1 parent 700c4f3325

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -345,6 +345,7 @@
345 345 {
346 346 kobject_put(&q->kobj);
347 347 }
  348 +EXPORT_SYMBOL(blk_put_queue);
348 349  
349 350 /*
350 351 * Note: If a driver supplied the queue lock, it should not zap that lock
... ... @@ -566,6 +567,7 @@
566 567  
567 568 return 1;
568 569 }
  570 +EXPORT_SYMBOL(blk_get_queue);
569 571  
570 572 static inline void blk_free_request(struct request_queue *q, struct request *rq)
571 573 {