diff options
author | Steve French <smfrench@gmail.com> | 2015-06-24 07:37:11 +0300 |
---|---|---|
committer | Steve French <steve.french@primarydata.com> | 2015-06-28 06:28:11 +0300 |
commit | aab1893d5fbeb7c931e97189f54a71ab0ecbf4c7 (patch) | |
tree | 3ee55544c479e51524fefb8ecfe049f86e2758ef /fs/cifs/cifsglob.h | |
parent | 80bc83c360ef04cd1f5f8f0fb9c47669e702c980 (diff) | |
download | linux-aab1893d5fbeb7c931e97189f54a71ab0ecbf4c7.tar.xz |
Add SMB3.11 mount option synonym for new dialect
Most people think of SMB 3.1.1 as SMB version 3.11 so add synonym
for "vers=3.1.1" of "vers=3.11" on mount.
Also make sure that unlike SMB3.0 and 3.02 we don't send
validate negotiate on mount (it is handled by negotiate contexts) -
add list of SMB3.11 specific functions (distinct from 3.0 dialect).
Signed-off-by: Steve French <steve.french@primarydata.com>w
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 71bf86e6de9a..a0212ec6f701 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1622,6 +1622,7 @@ extern struct smb_version_values smb30_values; /*extern struct smb_version_operations smb302_operations;*/ /* not needed yet */ extern struct smb_version_values smb302_values; #define SMB311_VERSION_STRING "3.1.1" -/*extern struct smb_version_operations smb311_operations;*/ /* not needed yet */ +#define ALT_SMB311_VERSION_STRING "3.11" +extern struct smb_version_operations smb311_operations; extern struct smb_version_values smb311_values; #endif /* _CIFS_GLOB_H */ |