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:
b79af13
)
dm stats: fix a leaked s->histogram_boundaries array
author
Mikulas Patocka
<mpatocka@redhat.com>
Wed, 15 Feb 2017 17:06:19 +0000
(12:06 -0500)
committer
Mike Snitzer
<snitzer@redhat.com>
Thu, 16 Feb 2017 19:17:07 +0000
(14:17 -0500)
Fixes:
dfcfac3e4cd9
("dm stats: collect and report histogram of IO latencies")
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-stats.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-stats.c
b/drivers/md/dm-stats.c
index 38b05f23b96c0be81fb3d53905d093b5c33919fc..0250e7e521abcbae456b0552e774d47f507f3dc3 100644
(file)
--- a/
drivers/md/dm-stats.c
+++ b/
drivers/md/dm-stats.c
@@
-175,6
+175,7
@@
static void dm_stat_free(struct rcu_head *head)
int cpu;
struct dm_stat *s = container_of(head, struct dm_stat, rcu_head);
+ kfree(s->histogram_boundaries);
kfree(s->program_id);
kfree(s->aux_data);
for_each_possible_cpu(cpu) {