projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7410b3c
)
blk-mq: fix leak of set->tags
author
Ming Lei
<tom.leiming@gmail.com>
Wed, 23 Apr 2014 16:07:34 +0000
(
00:07
+0800)
committer
Jens Axboe
<axboe@fb.com>
Wed, 23 Apr 2014 16:08:22 +0000
(10:08 -0600)
set->tags should be freed in blk_mq_free_tag_set().
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
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 c26b3be1893c67748ce4a587a640191b31c08646..cea1bd87a4162093d04b0b28ef89b39dd9e648b7 100644
(file)
--- a/
block/blk-mq.c
+++ b/
block/blk-mq.c
@@
-1562,6
+1562,7
@@
void blk_mq_free_tag_set(struct blk_mq_tag_set *set)
for (i = 0; i < set->nr_hw_queues; i++)
blk_mq_free_rq_map(set, set->tags[i], i);
+ kfree(set->tags);
}
EXPORT_SYMBOL(blk_mq_free_tag_set);