mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ecryptfs: fix missed mutex_unlock
Cc: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
03fb0bce01
commit
71fd5179e8
1 changed files with 1 additions and 1 deletions
|
@ -1906,9 +1906,9 @@ int ecryptfs_get_tfm_and_mutex_for_cipher_name(struct crypto_blkcipher **tfm,
|
|||
goto out;
|
||||
}
|
||||
}
|
||||
mutex_unlock(&key_tfm_list_mutex);
|
||||
(*tfm) = key_tfm->key_tfm;
|
||||
(*tfm_mutex) = &key_tfm->key_tfm_mutex;
|
||||
out:
|
||||
mutex_unlock(&key_tfm_list_mutex);
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue