summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-01-25 16:07:29 +0100
committerSteve French <smfrench@gmail.com>2017-02-01 16:46:33 -0600
commitc1ecea87471bbb614f8121e00e5787f363140365 (patch)
tree155dc4c47a9b83b863c5f91393f2bd95fbf4be10
parent6d04dfc8966019b8b0977b2cb942351f13d2b178 (diff)
downloadlinux-c1ecea87471bbb614f8121e00e5787f363140365.tar.bz2
cifs: Simplify SMB2 and SMB311 dependencies
* CIFS_SMB2 depends on CIFS, which depends on INET and selects NLS. So these dependencies do not need to be repeated for CIFS_SMB2. * CIFS_SMB311 depends on CIFS_SMB2, which depends on INET. So this dependency doesn't need to be repeated for CIFS_SMB311. Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Steve French <sfrench@samba.org>
-rw-r--r--fs/cifs/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index e7b478b49985..a439c17c85c4 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -169,8 +169,7 @@ config CIFS_NFSD_EXPORT
config CIFS_SMB2
bool "SMB2 and SMB3 network file system support"
- depends on CIFS && INET
- select NLS
+ depends on CIFS
select KEYS
select FSCACHE
select DNS_RESOLVER
@@ -194,7 +193,7 @@ config CIFS_SMB2
config CIFS_SMB311
bool "SMB3.1.1 network file system support (Experimental)"
- depends on CIFS_SMB2 && INET
+ depends on CIFS_SMB2
help
This enables experimental support for the newest, SMB3.1.1, dialect.