[PATCH 47/50] CIFS: Disable lock call for SMB2 since we don't support it

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

 



Signed-off-by: Pavel Shilovsky <piastry@xxxxxxxxxxx>
---
 fs/cifs/smb2file.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/cifs/smb2file.c b/fs/cifs/smb2file.c
index d493f78..f57dade 100644
--- a/fs/cifs/smb2file.c
+++ b/fs/cifs/smb2file.c
@@ -41,7 +41,7 @@ const struct file_operations smb2_file_ops = {
 	.aio_write = cifs_file_aio_write,
 	.open = smb2_open,
 	.release = cifs_close,
-	.lock = cifs_lock,
+	/*.lock = cifs_lock,*/
 	.fsync = smb2_fsync,
 	.flush = cifs_flush,
 	.mmap  = cifs_file_mmap,
@@ -60,7 +60,7 @@ const struct file_operations smb2_file_strict_ops = {
 	.aio_write = smb2_strict_writev,
 	.open = smb2_open,
 	.release = cifs_close,
-	.lock = cifs_lock,
+	/*.lock = cifs_lock,*/
 	.fsync = smb2_strict_fsync,
 	.flush = cifs_flush,
 	.mmap = cifs_file_strict_mmap,
@@ -80,7 +80,7 @@ const struct file_operations smb2_file_direct_ops = {
 	.aio_write = smb2_user_writev,
 	.open = smb2_open,
 	.release = cifs_close,
-	.lock = cifs_lock,
+	/*.lock = cifs_lock, */
 	.fsync = smb2_fsync,
 	.flush = cifs_flush,
 	.mmap = cifs_file_mmap,
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux