From: Sebastien Buisson Date: Wed, 11 Mar 2020 10:05:48 +0000 (+0100) Subject: LU-13355 crypto: adler32 wrapper in libcfs X-Git-Tag: 2.13.53~95 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c7c83582aeee6f8bc54915cce6d64d3307bf1ff6;p=fs%2Flustre-release.git LU-13355 crypto: adler32 wrapper in libcfs libcfs has wrappers in order to be able to use adler32 as any other crypto module. But libcfs should not be considered as the owner of this implementation. Signed-off-by: Sebastien Buisson Change-Id: I66da322b7deae7aeb7f2fb95ede9ee1eff43c70c Reviewed-on: https://review.whamcloud.com/37878 Tested-by: jenkins Reviewed-by: Andreas Dilger Reviewed-by: James Simmons Tested-by: Maloo --- diff --git a/libcfs/libcfs/linux-crypto-adler.c b/libcfs/libcfs/linux-crypto-adler.c index 44bf374..ee47fb5 100644 --- a/libcfs/libcfs/linux-crypto-adler.c +++ b/libcfs/libcfs/linux-crypto-adler.c @@ -119,7 +119,7 @@ static struct shash_alg alg = { .cra_priority = 100, .cra_blocksize = CHKSUM_BLOCK_SIZE, .cra_ctxsize = sizeof(u32), - .cra_module = THIS_MODULE, + .cra_module = NULL, .cra_init = adler32_cra_init, } };