projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a90d4a
)
blk-mq: export blk_mq_free_request()
author
Jens Axboe
<axboe@fb.com>
Mon, 17 Nov 2014 17:40:48 +0000
(10:40 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 17 Nov 2014 17:40:48 +0000
(10:40 -0700)
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>
block/blk-mq.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index 06ab0683a1f16c716ec4c4e19bcb64061cb6ab27..fdf12152946e2cf167e4bbf8ef19028d0fadaa1d 100644
(file)
--- 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)
{