diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-05-15 12:04:03 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2012-05-16 21:13:34 -0400 |
commit | 5249af32da5330c0bcaf0412a32aa30c5e93e908 (patch) | |
tree | 759d6843a483dd323bda78c8c34f42cedfece6ee /fs | |
parent | 296838b182ebad919074bf324e1667d28a04b936 (diff) |
cifs: remove the vers= and version= synonyms for ver=
We want these to mean something different entirely, and the mount.cifs
helper only ever passed in ver= automatically. Also, don't allow
ver=cifs anymore since that was never passed in by the mount helper.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/connect.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index c49d49438c52..4a6baa880506 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -210,8 +210,6 @@ static const match_table_t cifs_mount_option_tokens = { | |||
210 | { Opt_netbiosname, "netbiosname=%s" }, | 210 | { Opt_netbiosname, "netbiosname=%s" }, |
211 | { Opt_servern, "servern=%s" }, | 211 | { Opt_servern, "servern=%s" }, |
212 | { Opt_ver, "ver=%s" }, | 212 | { Opt_ver, "ver=%s" }, |
213 | { Opt_ver, "vers=%s" }, | ||
214 | { Opt_ver, "version=%s" }, | ||
215 | { Opt_sec, "sec=%s" }, | 213 | { Opt_sec, "sec=%s" }, |
216 | { Opt_cache, "cache=%s" }, | 214 | { Opt_cache, "cache=%s" }, |
217 | 215 | ||
@@ -1874,8 +1872,7 @@ cifs_parse_mount_options(const char *mountdata, const char *devname, | |||
1874 | if (string == NULL) | 1872 | if (string == NULL) |
1875 | goto out_nomem; | 1873 | goto out_nomem; |
1876 | 1874 | ||
1877 | if (strnicmp(string, "cifs", 4) == 0 || | 1875 | if (strnicmp(string, "1", 1) == 0) { |
1878 | strnicmp(string, "1", 1) == 0) { | ||
1879 | /* This is the default */ | 1876 | /* This is the default */ |
1880 | break; | 1877 | break; |
1881 | } | 1878 | } |