summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorKenneth D'souza <kdsouza@redhat.com>2018-11-17 10:33:30 +0530
committerSteve French <stfrench@microsoft.com>2018-12-23 22:39:29 -0600
commit4a3b38aec5778f8eb37b2eb4701baffb1da4ccd5 (patch)
tree60ab3f6b2e06563fb93587adf1292597f6f70f51 /fs/cifs/connect.c
parent07d3b2e4264fb32bf82074311abc20c6de224d61 (diff)
downloadlinux-stable-4a3b38aec5778f8eb37b2eb4701baffb1da4ccd5.tar.gz
linux-stable-4a3b38aec5778f8eb37b2eb4701baffb1da4ccd5.tar.bz2
linux-stable-4a3b38aec5778f8eb37b2eb4701baffb1da4ccd5.zip
Add vers=3.0.2 as a valid option for SMBv3.0.2
Technically 3.02 is not the dialect name although that is more familiar to many, so we should also accept the official dialect name (3.0.2 vs. 3.02) in vers= Signed-off-by: Kenneth D'souza <kdsouza@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 6f24f129a751..f0be8ed6871f 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -304,6 +304,7 @@ static const match_table_t cifs_smb_version_tokens = {
{ Smb_21, SMB21_VERSION_STRING },
{ Smb_30, SMB30_VERSION_STRING },
{ Smb_302, SMB302_VERSION_STRING },
+ { Smb_302, ALT_SMB302_VERSION_STRING },
{ Smb_311, SMB311_VERSION_STRING },
{ Smb_311, ALT_SMB311_VERSION_STRING },
{ Smb_3any, SMB3ANY_VERSION_STRING },