Commit 288bde07 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] Missed one 'try_inc_mod_count()'

I missed one hunk when splitting the patch for removing
try_inc_mod_count().
parent b55588f9
...@@ -24,7 +24,7 @@ DECLARE_RWSEM(crypto_alg_sem); ...@@ -24,7 +24,7 @@ DECLARE_RWSEM(crypto_alg_sem);
static inline int crypto_alg_get(struct crypto_alg *alg) 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) static inline void crypto_alg_put(struct crypto_alg *alg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment