Skip to content

Commit

Permalink
cifs: Simplify SMB2 and SMB311 dependencies
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Jean Delvare authored and Steve French committed Feb 1, 2017
1 parent 6d04dfc commit c1ecea8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/cifs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit c1ecea8

Please sign in to comment.