diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-01-06 03:17:20 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-01-17 15:16:15 +0100 |
commit | d5ffebdd797a7c1c89576267640f671db2a668fc (patch) | |
tree | 6796c229b8b8db0014e9d797bfe882c2b26a1a60 /drivers/md/dm-stats.c | |
parent | dm snapshot: use mutex instead of rw_semaphore (diff) | |
download | linux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.xz linux-d5ffebdd797a7c1c89576267640f671db2a668fc.zip |
dm: backfill missing calls to mutex_destroy()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-stats.c')
-rw-r--r-- | drivers/md/dm-stats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-stats.c b/drivers/md/dm-stats.c index 29bc51084c82..56059fb56e2d 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, |