NFS: Fix the selection of security flavours in Kconfig
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 17 Aug 2010 21:42:45 +0000 (17:42 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 17 Aug 2010 21:42:45 +0000 (17:42 -0400)
commitdf486a25900f4dba9cdc3886c4ac871951c6aef3
tree4d13ffd2b4de988c4d1d8863cf60196476ce48c0
parent0702099bd86c33c2dcdbd3963433a61f3f503901
NFS: Fix the selection of security flavours in Kconfig

Randy Dunlap reports:

ERROR: "svc_gss_principal" [fs/nfs/nfs.ko] undefined!

because in fs/nfs/Kconfig, NFS_V4 selects RPCSEC_GSS_KRB5
and/or in fs/nfsd/Kconfig, NFSD_V4 selects RPCSEC_GSS_KRB5.

RPCSEC_GSS_KRB5 does 5 selects, but none of these is enforced/followed
by the fs/nfs[d]/Kconfig configs:

select SUNRPC_GSS
select CRYPTO
select CRYPTO_MD5
select CRYPTO_DES
select CRYPTO_CBC

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: J. Bruce Fields <bfields@fieldses.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/Kconfig
fs/nfsd/Kconfig
net/sunrpc/Kconfig