From d5ffebdd797a7c1c89576267640f671db2a668fc Mon Sep 17 00:00:00 2001 From: Mike Snitzer Date: Fri, 5 Jan 2018 21:17:20 -0500 Subject: dm: backfill missing calls to mutex_destroy() Signed-off-by: Mike Snitzer --- drivers/md/dm-crypt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/md/dm-crypt.c') diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 9c53367d2f3e..09f4ff39269b 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -2192,6 +2192,8 @@ static void crypt_dtr(struct dm_target *ti) kzfree(cc->cipher_auth); kzfree(cc->authenc_key); + mutex_destroy(&cc->bio_alloc_lock); + /* Must zero key material before freeing */ kzfree(cc); } -- cgit v1.2.3