Skip to content

Commit 8be8f17

Browse files
committed
NFS: Remove "select RPCSEC_GSS_KRB5
If CONFIG_CRYPTO=n (e.g. arm/shmobile_defconfig): WARNING: unmet direct dependencies detected for RPCSEC_GSS_KRB5 Depends on [n]: NETWORK_FILESYSTEMS [=y] && SUNRPC [=y] && CRYPTO [=n] Selected by [y]: - NFS_V4 [=y] && NETWORK_FILESYSTEMS [=y] && NFS_FS [=y] As NFSv4 can work without crypto enabled, remove the RPCSEC_GSS_KRB5 dependency altogether. Trond says: > It is possible to use the NFSv4.1 client with just AUTH_SYS, and > in fact there are plenty of people out there using only that. The > fact that RFC5661 gets its knickers in a twist about RPCSEC_GSS > support is largely irrelevant to those people. > > The other issue is that ’select’ enforces the strict dependency > that if the NFS client is compiled into the kernel, then the > RPCSEC_GSS and kerberos code needs to be compiled in as well: they > cannot exist as modules. Fixes: e57d065 ("NFS & NFSD: Update GSS dependencies") Reported-by: kernel test robot <[email protected]> Reported-by: Niklas Söderlund <[email protected]> Suggested-by: Trond Myklebust <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent 5085e41 commit 8be8f17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/nfs/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ config NFS_V3_ACL
7575
config NFS_V4
7676
tristate "NFS client support for NFS version 4"
7777
depends on NFS_FS
78-
select RPCSEC_GSS_KRB5
7978
select KEYS
8079
help
8180
This option enables support for version 4 of the NFS protocol

0 commit comments

Comments
 (0)