commit | d5ffebdd797a7c1c89576267640f671db2a668fc | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Fri Jan 05 21:17:20 2018 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Jan 17 09:16:15 2018 -0500 |
tree | 6796c229b8b8db0014e9d797bfe882c2b26a1a60 | |
parent | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe [diff] [blame] |
dm: backfill missing calls to mutex_destroy() Signed-off-by: Mike Snitzer <snitzer@redhat.com>
diff --git a/drivers/md/dm-stats.c b/drivers/md/dm-stats.c index 29bc510..56059fb 100644 --- a/drivers/md/dm-stats.c +++ b/drivers/md/dm-stats.c
@@ -228,6 +228,7 @@ void dm_stats_cleanup(struct dm_stats *stats) dm_stat_free(&s->rcu_head); } free_percpu(stats->last); + mutex_destroy(&stats->mutex); } static int dm_stats_create(struct dm_stats *stats, sector_t start, sector_t end,