projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
296838b
)
cifs: remove the vers= and version= synonyms for ver=
author
Jeff Layton
<jlayton@redhat.com>
Tue, 15 May 2012 16:04:03 +0000
(12:04 -0400)
committer
Steve French
<sfrench@us.ibm.com>
Thu, 17 May 2012 01:13:34 +0000
(20:13 -0500)
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>
fs/cifs/connect.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index c49d49438c52ce677ca2cd67d3863afc5c694300..4a6baa880506f6d76a2402bd97553ee1c5ccf947 100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-210,8
+210,6
@@
static const match_table_t cifs_mount_option_tokens = {
{ Opt_netbiosname, "netbiosname=%s" },
{ Opt_servern, "servern=%s" },
{ Opt_ver, "ver=%s" },
- { Opt_ver, "vers=%s" },
- { Opt_ver, "version=%s" },
{ Opt_sec, "sec=%s" },
{ Opt_cache, "cache=%s" },
@@
-1874,8
+1872,7
@@
cifs_parse_mount_options(const char *mountdata, const char *devname,
if (string == NULL)
goto out_nomem;
- if (strnicmp(string, "cifs", 4) == 0 ||
- strnicmp(string, "1", 1) == 0) {
+ if (strnicmp(string, "1", 1) == 0) {
/* This is the default */
break;
}