summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2013-03-06 19:38:36 +0400
committerSteve French <sfrench@us.ibm.com>2013-03-06 19:37:01 -0600
commit067785c40e52089993757afa28988c05f3cb2694 (patch)
treec51f47cdcf9a805f8a52c8dc152bef3bab01720e /fs/cifs/smb2ops.c
parent94e18007688a13e5da1a2f1b7f52f15cc56c9f5e (diff)
CIFS: Fix missing of oplock_read value in smb30_values structure
Cc: stable@vger.kernel.org Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r--fs/cifs/smb2ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index c9c7aa7ed96..bceffe7b8f8 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -744,4 +744,5 @@ struct smb_version_values smb30_values = {
.cap_unix = 0,
.cap_nt_find = SMB2_NT_FIND,
.cap_large_files = SMB2_LARGE_FILES,
+ .oplock_read = SMB2_OPLOCK_LEVEL_II,
};