summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorMike Snitzer2018-01-06 03:17:20 +0100
committerMike Snitzer2018-01-17 15:16:15 +0100
commitd5ffebdd797a7c1c89576267640f671db2a668fc (patch)
tree6796c229b8b8db0014e9d797bfe882c2b26a1a60 /drivers/md/dm-mpath.c
parentdm snapshot: use mutex instead of rw_semaphore (diff)
downloadkernel-qcow2-linux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.gz
kernel-qcow2-linux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.xz
kernel-qcow2-linux-d5ffebdd797a7c1c89576267640f671db2a668fc.zip
dm: backfill missing calls to mutex_destroy()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r--drivers/md/dm-mpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 6d1a9906c582..be581765edd1 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -248,6 +248,7 @@ static void free_multipath(struct multipath *m)
kfree(m->hw_handler_name);
kfree(m->hw_handler_params);
+ mutex_destroy(&m->work_mutex);
kfree(m);
}