NFSD: Remove redundant "select" clauses in fs/Kconfig
Subsystems (3)
PATCH 10/11 NFSD: Remove redundant "select" clauses in fs/Kconfig
As far as I can tell, selecting the CRYPTO and CRYPTO_MD5 entries under CONFIG_NFSD is redundant, since CONFIG_NFSD_V4 already selects RPCSEC_GSS_KRB5, which selects these entries.
Testing with "make menuconfig" shows that the entries under CRYPTO still properly reflect "Y" or "M" based on the setting of CONFIG_NFSD after this change is applied.
---
fs/Kconfig | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
fs/Kconfig +0 -2
@@ -1658,8 +1658,6 @@ config NFSD select SUNRPC select EXPORTFS select NFS_ACL_SUPPORT if NFSD_V2_ACL - select CRYPTO_MD5 if NFSD_V4 - select CRYPTO if NFSD_V4 help Choose Y here if you want to allow other computers to access files residing on this system using Sun's Network File System
A message that is not in the archive (sent off-list or not yet received): 20080211221238.1047.92046.stgit-meopP2rzCrTwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org
Quoted 9 lines · Chuck Lever
As far as I can tell, selecting the CRYPTO and
CRYPTO_MD5entries underCONFIG_NFSDis redundant, sinceCONFIG_NFSD_V4already selectsRPCSEC_GSS_KRB5, which selects these entries.Testing with "make menuconfig" shows that the entries under CRYPTO still properly reflect "Y" or "M" based on the setting of
CONFIG_NFSDafter this change is applied.Signed-off-by Chuck Lever <[email protected]>
And applied this. The rest I left alone for now.
--b.
Quoted 19 lines
---
fs/Kconfig | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)fs/Kconfig +0
-2@@ -1658,8 +1658,6 @@ config NFSD select SUNRPC select EXPORTFS select NFS_ACL_SUPPORT if NFSD_V2_ACL - select CRYPTO_MD5 if NFSD_V4 - select CRYPTO if NFSD_V4 help Choose Y here if you want to allow other computers to access files residing on this system using Sun's Network File System