Skip to content

Commit

Permalink
blk-mq: export blk_mq_free_request()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
axboe committed Nov 17, 2014
1 parent 2a90d4a commit 1a3b595
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/blk-mq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 1a3b595

Please sign in to comment.