Re: [PATCH 15/20] nfsd: use crypto_shash_tfm_digest()

2020-05-04 Thread J. Bruce Fields
On Fri, May 01, 2020 at 10:31:17PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Instead of manually allocating a 'struct shash_desc' on the stack and > calling crypto_shash_digest(), switch to using the new helper function > crypto_shash_tfm_digest() which does this for us. > > Cc: linux-

[PATCH 15/20] nfsd: use crypto_shash_tfm_digest()

2020-05-01 Thread Eric Biggers
From: Eric Biggers Instead of manually allocating a 'struct shash_desc' on the stack and calling crypto_shash_digest(), switch to using the new helper function crypto_shash_tfm_digest() which does this for us. Cc: linux-...@vger.kernel.org Signed-off-by: Eric Biggers --- fs/nfsd/nfs4recover.c