Skip to contentSkip to conversation

NFSD: Remove redundant "select" clauses in fs/Kconfig

PATCH Applied Chuck Lever 2 participants 2 messages Feb 11, 2008 – Feb 12, 2008 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index fcaf61e..267ff73 100644
@@ -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

#2 lore raw
Quoted 9 lines · Chuck Lever

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.

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
index fcaf61e..267ff73 100644
@@ -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