summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-delay.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2018-01-05 21:17:20 -0500
committerMike Snitzer <snitzer@redhat.com>2018-01-17 09:16:15 -0500
commitd5ffebdd797a7c1c89576267640f671db2a668fc (patch)
tree6796c229b8b8db0014e9d797bfe882c2b26a1a60 /drivers/md/dm-delay.c
parentae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (diff)
downloadtalos-op-linux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.gz
talos-op-linux-d5ffebdd797a7c1c89576267640f671db2a668fc.zip
dm: backfill missing calls to mutex_destroy()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-delay.c')
-rw-r--r--drivers/md/dm-delay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-delay.c b/drivers/md/dm-delay.c
index 288386bfbfb5..1783d80c9cad 100644
--- a/drivers/md/dm-delay.c
+++ b/drivers/md/dm-delay.c
@@ -229,6 +229,8 @@ static void delay_dtr(struct dm_target *ti)
if (dc->dev_write)
dm_put_device(ti, dc->dev_write);
+ mutex_destroy(&dc->timer_lock);
+
kfree(dc);
}
OpenPOWER on IntegriCloud