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-crypt.c | |
parent | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (diff) | |
download | linux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.gz linux-d5ffebdd797a7c1c89576267640f671db2a668fc.tar.bz2 linux-d5ffebdd797a7c1c89576267640f671db2a668fc.zip |
dm: backfill missing calls to mutex_destroy()
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r-- | drivers/md/dm-crypt.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |