From: Trond Myklebust <Trond.Myklebust@netapp.com>
Date: Thu, 19 Jul 2007 14:03:34 +0000 (-0400)
Subject: NFSD/SUNRPC: Fix the automatic selection of RPCSEC_GSS
X-Git-Tag: firefly_0821_release~27450^2~13
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8cd69e1bc7970bfb032b425043cc0d4e4345c74c;p=firefly-linux-kernel-4.4.55.git

NFSD/SUNRPC: Fix the automatic selection of RPCSEC_GSS

Bruce's patch broke the ability to compile RPCSEC_GSS as a module.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
---

diff --git a/fs/Kconfig b/fs/Kconfig
index 6a649902c5ac..58a0650293e1 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1674,7 +1674,7 @@ config NFSD_V3_ACL
 
 config NFSD_V4
 	bool "Provide NFSv4 server support (EXPERIMENTAL)"
-	depends on NFSD_V3 && EXPERIMENTAL
+	depends on NFSD && NFSD_V3 && EXPERIMENTAL
 	select RPCSEC_GSS_KRB5
 	help
 	  If you would like to include the NFSv4 server as well as the NFSv2