public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] select for fs/Kconfig
@ 2003-09-28 15:18 Adrian Bunk
  2003-09-29  9:11 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2003-09-28 15:18 UTC (permalink / raw)
  To: Linus Torvalds, David Howells, David Woodhouse; +Cc: linux-kernel, nfs

The patch below switches fs/Kconfig to use select where appropriate 
(affects nfs{,d} and afs).

diffstat output:
ú
 fs/Kconfig |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
 

cu
Adrian

--- linux-2.6.0-test6-full/fs/Kconfig.old	2003-09-28 16:12:39.000000000 +0200
+++ linux-2.6.0-test6-full/fs/Kconfig	2003-09-28 16:20:56.000000000 +0200
@@ -1253,8 +1253,10 @@
 
 config NFS_FS
 	tristate "NFS file system support"
 	depends on INET
+	select LOCKD
+	select SUNRPC
 	help
 	  If you are connected to some other (usually local) Unix computer
 	  (using SLIP, PLIP, PPP or Ethernet) and want to mount files residing
 	  on that computer (the NFS server) using the Network File Sharing
@@ -1308,8 +1310,10 @@
 
 config NFSD
 	tristate "NFS server support"
 	depends on INET
+	select LOCKD
+	select SUNRPC
 	help
 	  If you want your Linux box to act as an NFS *server*, so that other
 	  computers on your local network which support NFS can access certain
 	  directories on your box transparently, you have two options: you can
@@ -1370,10 +1374,8 @@
 	  Most people say N here.
 
 config LOCKD
 	tristate
-	default m if NFS_FS!=y && NFSD!=y && (NFS_FS=m || NFSD=m)
-	default y if NFS_FS=y || NFSD=y
 
 config LOCKD_V4
 	bool
 	depends on NFSD_V3 || NFS_V3
@@ -1384,10 +1386,8 @@
 	default NFSD
 
 config SUNRPC
 	tristate
-	default m if NFS_FS!=y && NFSD!=y && (NFS_FS=m || NFSD=m)
-	default y if NFS_FS=y || NFSD=y
 
 config SUNRPC_GSS
 	tristate "Provide RPCSEC_GSS authentication (EXPERIMENTAL)"
 	depends on SUNRPC && EXPERIMENTAL
@@ -1564,8 +1564,9 @@
 config AFS_FS
 # for fs/nls/Config.in
 	tristate "Andrew File System support (AFS) (Experimental)"
 	depends on INET && EXPERIMENTAL
+	select RXRPC
 	help
 	  If you say Y here, you will get an experimental Andrew File System
 	  driver. It currently only supports unsecured read-only AFS access.
 
@@ -1574,10 +1575,8 @@
 	  If unsure, say N.
 
 config RXRPC
 	tristate
-	default m if AFS_FS=m
-	default y if AFS_FS=y
 
 endmenu
 
 menu "Partition Types"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] select for fs/Kconfig
  2003-09-28 15:18 [2.6 patch] select for fs/Kconfig Adrian Bunk
@ 2003-09-29  9:11 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2003-09-29  9:11 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Linus Torvalds, linux-kernel, nfs

> 
> The patch below switches fs/Kconfig to use select where appropriate 
> (affects nfs{,d} and afs).

Thanks. Linus, can you apply it, please?

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-29  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-28 15:18 [2.6 patch] select for fs/Kconfig Adrian Bunk
2003-09-29  9:11 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox