|
@@ -276,6 +276,7 @@ static const match_table_t cifs_smb_version_tokens = {
|
|
{ Smb_20, SMB20_VERSION_STRING},
|
|
{ Smb_20, SMB20_VERSION_STRING},
|
|
{ Smb_21, SMB21_VERSION_STRING },
|
|
{ Smb_21, SMB21_VERSION_STRING },
|
|
{ Smb_30, SMB30_VERSION_STRING },
|
|
{ Smb_30, SMB30_VERSION_STRING },
|
|
|
|
+ { Smb_302, SMB302_VERSION_STRING },
|
|
};
|
|
};
|
|
|
|
|
|
static int ip_connect(struct TCP_Server_Info *server);
|
|
static int ip_connect(struct TCP_Server_Info *server);
|
|
@@ -1124,6 +1125,10 @@ cifs_parse_smb_version(char *value, struct smb_vol *vol)
|
|
vol->ops = &smb30_operations;
|
|
vol->ops = &smb30_operations;
|
|
vol->vals = &smb30_values;
|
|
vol->vals = &smb30_values;
|
|
break;
|
|
break;
|
|
|
|
+ case Smb_302:
|
|
|
|
+ vol->ops = &smb30_operations; /* currently identical with 3.0 */
|
|
|
|
+ vol->vals = &smb302_values;
|
|
|
|
+ break;
|
|
#endif
|
|
#endif
|
|
default:
|
|
default:
|
|
cifs_dbg(VFS, "Unknown vers= option specified: %s\n", value);
|
|
cifs_dbg(VFS, "Unknown vers= option specified: %s\n", value);
|