Patch Upstream: CIFS: Fix missing of oplock_read value in smb30_values structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit: 067785c40e52089993757afa28988c05f3cb2694
From: Pavel Shilovsky <piastry@xxxxxxxxxxx>
Date: Wed, 6 Mar 2013 19:38:36 +0400
Subject: CIFS: Fix missing of oplock_read value in smb30_values structure

Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Pavel Shilovsky <piastry@xxxxxxxxxxx>
Signed-off-by: Steve French <sfrench@xxxxxxxxxx>
---
 fs/cifs/smb2ops.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index c9c7aa7..bceffe7 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,
 };
-- 
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]