summaryrefslogtreecommitdiff
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-09 17:40:35 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-10 21:39:24 +0800
commit2e25d6e799e4964b15f76dbfd4fe4ffb88b72fd3 (patch)
tree2ec72eb0c62716664b6b1ecad97fdc321d4bcde7 /crypto/scatterwalk.c
parent4224c16a384d2f71569e1b9147cdd5a9ff970c78 (diff)
downloadlinux-crypto-2e25d6e799e4964b15f76dbfd4fe4ffb88b72fd3.tar.gz
linux-crypto-2e25d6e799e4964b15f76dbfd4fe4ffb88b72fd3.zip
crypto: api - Move alg ref count init to crypto_check_alg
We currently initialise the crypto_alg ref count in the function __crypto_register_alg. As one of the callers of that function crypto_register_instance needs to obtain a ref count before it calls __crypto_register_alg, we need to move the initialisation out of there. Since both callers of __crypto_register_alg call crypto_check_alg, this is the logical place to perform the initialisation. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Stephan Mueller <smueller@chronox.de>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions