diff options
-rw-r--r-- | fs/cifs/Kconfig | 20 | ||||
-rw-r--r-- | fs/cifs/connect.c | 8 |
2 files changed, 0 insertions, 28 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 75c47cd8d086..1cd4c3a1862d 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig | |||
@@ -153,26 +153,6 @@ config CIFS_ACL | |||
153 | Allows to fetch CIFS/NTFS ACL from the server. The DACL blob | 153 | Allows to fetch CIFS/NTFS ACL from the server. The DACL blob |
154 | is handed over to the application/caller. | 154 | is handed over to the application/caller. |
155 | 155 | ||
156 | config CIFS_SMB2 | ||
157 | bool "SMB2 network file system support (EXPERIMENTAL)" | ||
158 | depends on EXPERIMENTAL && INET && BROKEN | ||
159 | select NLS | ||
160 | select KEYS | ||
161 | select FSCACHE | ||
162 | select DNS_RESOLVER | ||
163 | |||
164 | help | ||
165 | This enables experimental support for the SMB2 (Server Message Block | ||
166 | version 2) protocol. The SMB2 protocol is the successor to the | ||
167 | popular CIFS and SMB network file sharing protocols. SMB2 is the | ||
168 | native file sharing mechanism for recent versions of Windows | ||
169 | operating systems (since Vista). SMB2 enablement will eventually | ||
170 | allow users better performance, security and features, than would be | ||
171 | possible with cifs. Note that smb2 mount options also are simpler | ||
172 | (compared to cifs) due to protocol improvements. | ||
173 | |||
174 | Unless you are a developer or tester, say N. | ||
175 | |||
176 | config CIFS_NFSD_EXPORT | 156 | config CIFS_NFSD_EXPORT |
177 | bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" | 157 | bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" |
178 | depends on CIFS && EXPERIMENTAL | 158 | depends on CIFS && EXPERIMENTAL |
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index da284e3cb653..1067473b5ed1 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -102,7 +102,6 @@ struct smb_vol { | |||
102 | bool fsc:1; /* enable fscache */ | 102 | bool fsc:1; /* enable fscache */ |
103 | bool mfsymlinks:1; /* use Minshall+French Symlinks */ | 103 | bool mfsymlinks:1; /* use Minshall+French Symlinks */ |
104 | bool multiuser:1; | 104 | bool multiuser:1; |
105 | bool use_smb2:1; /* force smb2 use on mount instead of cifs */ | ||
106 | unsigned int rsize; | 105 | unsigned int rsize; |
107 | unsigned int wsize; | 106 | unsigned int wsize; |
108 | bool sockopt_tcp_nodelay:1; | 107 | bool sockopt_tcp_nodelay:1; |
@@ -1062,13 +1061,6 @@ cifs_parse_mount_options(const char *mountdata, const char *devname, | |||
1062 | (strnicmp(value, "1", 1) == 0)) { | 1061 | (strnicmp(value, "1", 1) == 0)) { |
1063 | /* this is the default */ | 1062 | /* this is the default */ |
1064 | continue; | 1063 | continue; |
1065 | } else if ((strnicmp(value, "smb2", 4) == 0) || | ||
1066 | (strnicmp(value, "2", 1) == 0)) { | ||
1067 | #ifdef CONFIG_CIFS_SMB2 | ||
1068 | vol->use_smb2 = true; | ||
1069 | #else | ||
1070 | cERROR(1, "smb2 support not enabled"); | ||
1071 | #endif /* CONFIG_CIFS_SMB2 */ | ||
1072 | } | 1064 | } |
1073 | } else if ((strnicmp(data, "unc", 3) == 0) | 1065 | } else if ((strnicmp(data, "unc", 3) == 0) |
1074 | || (strnicmp(data, "target", 6) == 0) | 1066 | || (strnicmp(data, "target", 6) == 0) |