summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorPavel Shilovsky2013-09-05 14:11:28 +0200
committerSteve French2013-09-10 05:52:05 +0200
commit53ef1016fd0e4bab128a24f7fe06b9cdb2afdc31 (patch)
treeed65cd590e0b813a3643f20e752483c48c95fa11 /fs/cifs/connect.c
parentCIFS: Replace clientCanCache* bools with an integer (diff)
downloadkernel-qcow2-linux-53ef1016fd0e4bab128a24f7fe06b9cdb2afdc31.tar.gz
kernel-qcow2-linux-53ef1016fd0e4bab128a24f7fe06b9cdb2afdc31.tar.xz
kernel-qcow2-linux-53ef1016fd0e4bab128a24f7fe06b9cdb2afdc31.zip
CIFS: Store lease state itself rather than a mapped oplock value
and separate smb20_operations struct. Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 688f48ec9abc..a279ffc0bc29 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1116,7 +1116,7 @@ cifs_parse_smb_version(char *value, struct smb_vol *vol)
break;
#ifdef CONFIG_CIFS_SMB2
case Smb_20:
- vol->ops = &smb21_operations; /* currently identical with 2.1 */
+ vol->ops = &smb20_operations;
vol->vals = &smb20_values;
break;
case Smb_21: