[PATCH 27/39] blk-mq: export blk_mq_insert_request

Christoph Hellwig
2014-03-17T13:28:00Z

[-- Attachment #1: 0027-blk-mq-export-blk_mq_insert_request.patch --]
[-- Type: text/plain, Size: 656 bytes --]

We'll need this for now when scsi is built as a module. Eventually
I hope to be able to move it to a higher level API intead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
block/blk-mq.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/block/blk-mq.c b/block/blk-mq.c
index 6f04dda..4408c70 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -740,6 +740,7 @@ void blk_mq_insert_request(struct request *rq, bool at_head, bool run_queue,
if (run_queue)
blk_mq_run_hw_queue(hctx, async);
}
+EXPORT_SYMBOL(blk_mq_insert_request);

static void blk_mq_insert_requests(struct request_queue *q,
struct blk_mq_ctx *ctx,
--
1.7.10.4