diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 54125e04fd0c..991c63c6bdd0 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -97,7 +97,7 @@ enum { | |||
97 | Opt_user, Opt_pass, Opt_ip, | 97 | Opt_user, Opt_pass, Opt_ip, |
98 | Opt_unc, Opt_domain, | 98 | Opt_unc, Opt_domain, |
99 | Opt_srcaddr, Opt_prefixpath, | 99 | Opt_srcaddr, Opt_prefixpath, |
100 | Opt_iocharset, Opt_sockopt, | 100 | Opt_iocharset, |
101 | Opt_netbiosname, Opt_servern, | 101 | Opt_netbiosname, Opt_servern, |
102 | Opt_ver, Opt_vers, Opt_sec, Opt_cache, | 102 | Opt_ver, Opt_vers, Opt_sec, Opt_cache, |
103 | 103 | ||
@@ -202,7 +202,6 @@ static const match_table_t cifs_mount_option_tokens = { | |||
202 | { Opt_srcaddr, "srcaddr=%s" }, | 202 | { Opt_srcaddr, "srcaddr=%s" }, |
203 | { Opt_prefixpath, "prefixpath=%s" }, | 203 | { Opt_prefixpath, "prefixpath=%s" }, |
204 | { Opt_iocharset, "iocharset=%s" }, | 204 | { Opt_iocharset, "iocharset=%s" }, |
205 | { Opt_sockopt, "sockopt=%s" }, | ||
206 | { Opt_netbiosname, "netbiosname=%s" }, | 205 | { Opt_netbiosname, "netbiosname=%s" }, |
207 | { Opt_servern, "servern=%s" }, | 206 | { Opt_servern, "servern=%s" }, |
208 | { Opt_ver, "ver=%s" }, | 207 | { Opt_ver, "ver=%s" }, |
@@ -1752,19 +1751,6 @@ cifs_parse_mount_options(const char *mountdata, const char *devname, | |||
1752 | */ | 1751 | */ |
1753 | cFYI(1, "iocharset set to %s", string); | 1752 | cFYI(1, "iocharset set to %s", string); |
1754 | break; | 1753 | break; |
1755 | case Opt_sockopt: | ||
1756 | string = match_strdup(args); | ||
1757 | if (string == NULL) | ||
1758 | goto out_nomem; | ||
1759 | |||
1760 | if (strnicmp(string, "TCP_NODELAY", 11) == 0) { | ||
1761 | printk(KERN_WARNING "CIFS: the " | ||
1762 | "sockopt=TCP_NODELAY option has been " | ||
1763 | "deprecated and will be removed " | ||
1764 | "in 3.9\n"); | ||
1765 | vol->sockopt_tcp_nodelay = 1; | ||
1766 | } | ||
1767 | break; | ||
1768 | case Opt_netbiosname: | 1754 | case Opt_netbiosname: |
1769 | string = match_strdup(args); | 1755 | string = match_strdup(args); |
1770 | if (string == NULL) | 1756 | if (string == NULL) |