summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-11-17 10:40:48 -0700
committerJens Axboe <axboe@fb.com>2014-11-17 10:40:48 -0700
commit1a3b595a281a44be4074fe33b317a0a4854b4197 (patch)
tree977de26d247880171c3ae19f58cf17569c86c4ed /block
parent2a90d4aae5509e9cf1ba848c5d0b3458201160a0 (diff)
downloadop-kernel-dev-1a3b595a281a44be4074fe33b317a0a4854b4197.zip
op-kernel-dev-1a3b595a281a44be4074fe33b317a0a4854b4197.tar.gz
blk-mq: export blk_mq_free_request()
Drivers that know they are blk-mq should just use this function instead of calling through blk_put_request(). Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 06ab068..fdf1215 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -280,6 +280,7 @@ void blk_mq_free_request(struct request *rq)
hctx = q->mq_ops->map_queue(q, ctx->cpu);
__blk_mq_free_request(hctx, ctx, rq);
}
+EXPORT_SYMBOL_GPL(blk_mq_free_request);
inline void __blk_mq_end_request(struct request *rq, int error)
{
OpenPOWER on IntegriCloud