diff options
author | Mike Snitzer <snitzer@redhat.com> | 2018-01-05 21:17:20 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-01-17 09:16:15 -0500 |
commit | d5ffebdd797a7c1c89576267640f671db2a668fc (patch) | |
tree | 6796c229b8b8db0014e9d797bfe882c2b26a1a60 /drivers/md/dm.c | |
parent | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (diff) | |
download | op-kernel-dev-d5ffebdd797a7c1c89576267640f671db2a668fc.zip op-kernel-dev-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.gz |
dm: backfill missing calls to mutex_destroy()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 73d7f31..67bf116 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1789,6 +1789,10 @@ static void cleanup_mapped_device(struct mapped_device *md) md->bdev = NULL; } + mutex_destroy(&md->suspend_lock); + mutex_destroy(&md->type_lock); + mutex_destroy(&md->table_devices_lock); + dm_mq_cleanup_mapped_device(md); } |