Commit beeb276a authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] select for fs/Kconfig

This switches fs/Kconfig to use select where appropriate (affects
nfs{,d} and afs).
parent a718e9a2
...@@ -1254,6 +1254,8 @@ menu "Network File Systems" ...@@ -1254,6 +1254,8 @@ menu "Network File Systems"
config NFS_FS config NFS_FS
tristate "NFS file system support" tristate "NFS file system support"
depends on INET depends on INET
select LOCKD
select SUNRPC
help help
If you are connected to some other (usually local) Unix computer If you are connected to some other (usually local) Unix computer
(using SLIP, PLIP, PPP or Ethernet) and want to mount files residing (using SLIP, PLIP, PPP or Ethernet) and want to mount files residing
...@@ -1309,6 +1311,8 @@ config NFS_V4 ...@@ -1309,6 +1311,8 @@ config NFS_V4
config NFSD config NFSD
tristate "NFS server support" tristate "NFS server support"
depends on INET depends on INET
select LOCKD
select SUNRPC
help help
If you want your Linux box to act as an NFS *server*, so that other 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 computers on your local network which support NFS can access certain
...@@ -1371,8 +1375,6 @@ config ROOT_NFS ...@@ -1371,8 +1375,6 @@ config ROOT_NFS
config LOCKD config LOCKD
tristate 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 config LOCKD_V4
bool bool
...@@ -1385,8 +1387,6 @@ config EXPORTFS ...@@ -1385,8 +1387,6 @@ config EXPORTFS
config SUNRPC config SUNRPC
tristate 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 config SUNRPC_GSS
tristate "Provide RPCSEC_GSS authentication (EXPERIMENTAL)" tristate "Provide RPCSEC_GSS authentication (EXPERIMENTAL)"
...@@ -1565,6 +1565,7 @@ config AFS_FS ...@@ -1565,6 +1565,7 @@ config AFS_FS
# for fs/nls/Config.in # for fs/nls/Config.in
tristate "Andrew File System support (AFS) (Experimental)" tristate "Andrew File System support (AFS) (Experimental)"
depends on INET && EXPERIMENTAL depends on INET && EXPERIMENTAL
select RXRPC
help help
If you say Y here, you will get an experimental Andrew File System If you say Y here, you will get an experimental Andrew File System
driver. It currently only supports unsecured read-only AFS access. driver. It currently only supports unsecured read-only AFS access.
...@@ -1575,8 +1576,6 @@ config AFS_FS ...@@ -1575,8 +1576,6 @@ config AFS_FS
config RXRPC config RXRPC
tristate tristate
default m if AFS_FS=m
default y if AFS_FS=y
endmenu endmenu
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment