projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
[linux-drm-fsl-dcu.git]
/
crypto
/
api.c
diff --git
a/crypto/api.c
b/crypto/api.c
index 55af8bb0f0502eb7f80f3ed2c71fb21518319252..33734fd9198f09f829da60fe14d6b06dd8e40515 100644
(file)
--- a/
crypto/api.c
+++ b/
crypto/api.c
@@
-48,8
+48,10
@@
EXPORT_SYMBOL_GPL(crypto_mod_get);
void crypto_mod_put(struct crypto_alg *alg)
{
+ struct module *module = alg->cra_module;
+
crypto_alg_put(alg);
- module_put(
alg->cra_
module);
+ module_put(module);
}
EXPORT_SYMBOL_GPL(crypto_mod_put);