diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-08 18:22:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-08 18:22:08 -0500 |
commit | 67a865a40b46d4e5d2afd154303b10220202140f (patch) | |
tree | 5eeccc14e8d3f8a06d76219d6a61a94349085659 /fs/cifs/connect.c | |
parent | 59d8e5eb2bd5593d8220db0e25206cdfc42e83ea (diff) | |
parent | 067785c40e52089993757afa28988c05f3cb2694 (diff) |
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
Pull CIFS fixes from Steve French:
"A small set of cifs fixes which includes one for a recent regression
in the write path (pointed out by Anton), some fixes for rename
problems and as promised for 3.9 removing the obsolete sockopt mount
option (and the accompanying deprecation warning)."
* 'for-next' of git://git.samba.org/sfrench/cifs-2.6:
CIFS: Fix missing of oplock_read value in smb30_values structure
cifs: don't try to unlock pagecache page after releasing it
cifs: remove the sockopt= mount option
cifs: Check server capability before attempting silly rename
cifs: Fix bug when checking error condition in cifs_rename_pending_delete()
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) |