mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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>
This commit is contained in:
parent
2a90d4aae5
commit
1a3b595a28
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user