]> Gentwo Git Trees - linux/.git/commit
nfsd: Don't force CRYPTO_LIB_SHA256 to be built-in
authorEric Biggers <ebiggers@kernel.org>
Sun, 3 Aug 2025 21:21:30 +0000 (14:21 -0700)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 21 Sep 2025 23:24:50 +0000 (19:24 -0400)
commit13289ed501bad7a37ccbfa8581961d2e9dd4aea3
tree9ad50f7ae865e685b4fc103c67392f90c8ac1ffb
parenta082e4b4d08a4a0e656d90c2c05da85f23e6d0c9
nfsd: Don't force CRYPTO_LIB_SHA256 to be built-in

Now that nfsd is accessing SHA-256 via the library API instead of via
crypto_shash, there is a direct symbol dependency on the SHA-256 code
and there is no benefit to be gained from forcing it to be built-in.
Therefore, select CRYPTO_LIB_SHA256 from NFSD (conditional on NFSD_V4)
instead of from NFSD_V4, so that it can be 'm' if NFSD is 'm'.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/Kconfig