From aab1893d5fbeb7c931e97189f54a71ab0ecbf4c7 Mon Sep 17 00:00:00 2001 From: Steve French Date: Tue, 23 Jun 2015 23:37:11 -0500 Subject: 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 w --- fs/cifs/cifsglob.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fs/cifs/cifsglob.h') 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 */ -- cgit v1.2.1