Skip to content

Commit 1a3b595

Browse files
committed
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 <[email protected]>
1 parent 2a90d4a commit 1a3b595

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

block/blk-mq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ void blk_mq_free_request(struct request *rq)
280280
hctx = q->mq_ops->map_queue(q, ctx->cpu);
281281
__blk_mq_free_request(hctx, ctx, rq);
282282
}
283+
EXPORT_SYMBOL_GPL(blk_mq_free_request);
283284

284285
inline void __blk_mq_end_request(struct request *rq, int error)
285286
{

0 commit comments

Comments
 (0)