summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2013-03-06 16:38:36 +0100
committerSteve French <sfrench@us.ibm.com>2013-03-07 02:37:01 +0100
commit067785c40e52089993757afa28988c05f3cb2694 (patch)
treec51f47cdcf9a805f8a52c8dc152bef3bab01720e /fs/cifs
parentcifs: don't try to unlock pagecache page after releasing it (diff)
downloadlinux-067785c40e52089993757afa28988c05f3cb2694.tar.xz
linux-067785c40e52089993757afa28988c05f3cb2694.zip
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')
-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 c9c7aa7ed966..bceffe7b8f8d 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,
};