

Try to fix NFS_ACL=y, SUNRPC=m.

fs/built-in.o(.text+0x2b124): In function `nfsacl_encode':
/tmp/distcc_1108/fs/nfsacl.c:109: undefined reference to `xdr_encode_word'
fs/built-in.o(.text+0x2b143):/tmp/distcc_1108/fs/nfsacl.c:112: undefined reference to `xdr_encode_array2'
fs/built-in.o(.text+0x2b35c): In function `nfsacl_decode':
/tmp/distcc_1108/fs/nfsacl.c:239: undefined reference to `xdr_decode_word'
fs/built-in.o(.text+0x2b37d):/tmp/distcc_1108/fs/nfsacl.c:242: undefined reference to `xdr_decode_array2'
make: *** [.tmp_vmlinux1] Error 1


Seems lame:

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/fs/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN fs/Kconfig~nfsacl-kconfig-hack fs/Kconfig
--- 25/fs/Kconfig~nfsacl-kconfig-hack	2005-03-01 02:43:05.000000000 -0800
+++ 25-akpm/fs/Kconfig	2005-03-01 02:43:34.000000000 -0800
@@ -1320,6 +1320,7 @@ config NFS_FS
 	depends on INET
 	select LOCKD
 	select SUNRPC
+	select NFS_ACL_SUPPORT if NFS_ACL
 	help
 	  If you are connected to some other (usually local) Unix computer
 	  (using SLIP, PLIP, PPP or Ethernet) and want to mount files residing
@@ -1415,7 +1416,7 @@ config NFSD
 	select LOCKD
 	select SUNRPC
 	select EXPORTFS
-	select NFS_ACL_SUPPORT if NFS_ACL
+	select NFS_ACL_SUPPORT if NFSD_ACL
 	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
@@ -1449,7 +1450,6 @@ config NFSD_V3
 config NFSD_ACL
 	bool "NFS_ACL protocol extension"
 	depends on NFSD_V3
-	select NFS_ACL_SUPPORT
 	help
 	  Implement the NFS_ACL protocol extension for manipulating POSIX
 	  Access Control Lists on exported file systems.  The clients must
@@ -1457,7 +1457,7 @@ config NFSD_ACL
 	  CONFIG_NFS_ACL option.  If unsure, say N.
 
 config NFS_ACL_SUPPORT
-	bool
+	tristate
 	select FS_POSIX_ACL
 
 config NFSD_V4
_
