2003-09-28 15:18:48

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] select for fs/Kconfig

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"


2003-09-29 09:13:38

by David Howells

[permalink] [raw]
Subject: Re: [2.6 patch] select for fs/Kconfig

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

Thanks. Linus, can you apply it, please?

David