summaryrefslogtreecommitdiff
path: root/drivers/md/dm-zoned-metadata.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2018-01-06 05:17:20 +0300
committerMike Snitzer <snitzer@redhat.com>2018-01-17 17:16:15 +0300
commitd5ffebdd797a7c1c89576267640f671db2a668fc (patch)
tree6796c229b8b8db0014e9d797bfe882c2b26a1a60 /drivers/md/dm-zoned-metadata.c
parentae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (diff)
downloadlinux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.xz
dm: backfill missing calls to mutex_destroy()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-zoned-metadata.c')
-rw-r--r--drivers/md/dm-zoned-metadata.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/dm-zoned-metadata.c b/drivers/md/dm-zoned-metadata.c
index 70485de37b66..969954915566 100644
--- a/drivers/md/dm-zoned-metadata.c
+++ b/drivers/md/dm-zoned-metadata.c
@@ -2333,6 +2333,9 @@ static void dmz_cleanup_metadata(struct dmz_metadata *zmd)
/* Free the zone descriptors */
dmz_drop_zones(zmd);
+
+ mutex_destroy(&zmd->mblk_flush_lock);
+ mutex_destroy(&zmd->map_lock);
}
/*