From: Edward Shishkin Signed-off-by: Edward Shishkin Signed-off-by: Andrew Morton --- fs/reiser4/plugin/crypto/digest.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/reiser4/plugin/crypto/digest.c~reiser4-get-rid-of-deprecated-crypto-api-build-fix fs/reiser4/plugin/crypto/digest.c --- a/fs/reiser4/plugin/crypto/digest.c~reiser4-get-rid-of-deprecated-crypto-api-build-fix +++ a/fs/reiser4/plugin/crypto/digest.c @@ -14,7 +14,7 @@ extern digest_plugin digest_plugins[LAST static struct crypto_hash * alloc_sha256 (void) { #if REISER4_SHA256 - return crypto_alloc_hash ("sha256", 0); + return crypto_alloc_hash ("sha256", 0, CRYPTO_ALG_ASYNC); #else warning("edward-1418", "sha256 unsupported"); return ERR_PTR(-EINVAL); _