summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2002-12-29 21:48:11 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-29 21:48:11 -0800
commit288bde07965cad1bb83cb8aefa844e801472a5d4 (patch)
tree0dbdb1566ed94c51a6c63f223967767c003db395
parentb55588f94448a1bf4b0f4f89c30b560c7bbe14c4 (diff)
[PATCH] Missed one 'try_inc_mod_count()'
I missed one hunk when splitting the patch for removing try_inc_mod_count().
-rw-r--r--crypto/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/api.c b/crypto/api.c
index 64886f4d6335..386b04ae587e 100644
--- a/crypto/api.c
+++ b/crypto/api.c
@@ -24,7 +24,7 @@ DECLARE_RWSEM(crypto_alg_sem);
static inline int crypto_alg_get(struct crypto_alg *alg)
{
- return try_inc_mod_count(alg->cra_module);
+ return try_module_get(alg->cra_module);
}
static inline void crypto_alg_put(struct crypto_alg *alg)