|
@@ -1906,9 +1906,9 @@ int ecryptfs_get_tfm_and_mutex_for_cipher_name(struct crypto_blkcipher **tfm,
|
|
|
goto out;
|
|
goto out;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- mutex_unlock(&key_tfm_list_mutex);
|
|
|
|
|
(*tfm) = key_tfm->key_tfm;
|
|
(*tfm) = key_tfm->key_tfm;
|
|
|
(*tfm_mutex) = &key_tfm->key_tfm_mutex;
|
|
(*tfm_mutex) = &key_tfm->key_tfm_mutex;
|
|
|
out:
|
|
out:
|
|
|
|
|
+ mutex_unlock(&key_tfm_list_mutex);
|
|
|
return rc;
|
|
return rc;
|
|
|
}
|
|
}
|