diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 9300b98d8584..247f4dd228cc 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -282,6 +282,7 @@ static const match_table_t cifs_smb_version_tokens = { | |||
282 | { Smb_302, SMB302_VERSION_STRING }, | 282 | { Smb_302, SMB302_VERSION_STRING }, |
283 | #ifdef CONFIG_CIFS_SMB311 | 283 | #ifdef CONFIG_CIFS_SMB311 |
284 | { Smb_311, SMB311_VERSION_STRING }, | 284 | { Smb_311, SMB311_VERSION_STRING }, |
285 | { Smb_311, ALT_SMB311_VERSION_STRING }, | ||
285 | #endif /* SMB311 */ | 286 | #endif /* SMB311 */ |
286 | { Smb_version_err, NULL } | 287 | { Smb_version_err, NULL } |
287 | }; | 288 | }; |
@@ -1139,7 +1140,7 @@ cifs_parse_smb_version(char *value, struct smb_vol *vol) | |||
1139 | break; | 1140 | break; |
1140 | #ifdef CONFIG_CIFS_SMB311 | 1141 | #ifdef CONFIG_CIFS_SMB311 |
1141 | case Smb_311: | 1142 | case Smb_311: |
1142 | vol->ops = &smb30_operations; /* currently identical with 3.0 */ | 1143 | vol->ops = &smb311_operations; |
1143 | vol->vals = &smb311_values; | 1144 | vol->vals = &smb311_values; |
1144 | break; | 1145 | break; |
1145 | #endif /* SMB311 */ | 1146 | #endif /* SMB311 */ |