diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-02-28 06:23:34 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2012-05-16 21:13:36 -0400 |
commit | 106dc538abac88e804c63b7fe21ffb09cffaefc7 (patch) | |
tree | f3c4a0075e09c852b42a6f265a4dea42761352ed /fs/cifs/smb1ops.c | |
parent | 04a6aa8acfac51385ec3e72fac1227e15db78ed9 (diff) |
CIFS: Separate protocol specific lock type handling
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r-- | fs/cifs/smb1ops.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c index fa486f0ca8b2..af48a8b8b75d 100644 --- a/fs/cifs/smb1ops.c +++ b/fs/cifs/smb1ops.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "cifsglob.h" | 20 | #include "cifsglob.h" |
21 | #include "cifsproto.h" | 21 | #include "cifsproto.h" |
22 | #include "cifs_debug.h" | 22 | #include "cifs_debug.h" |
23 | #include "cifspdu.h" | ||
23 | 24 | ||
24 | /* | 25 | /* |
25 | * An NT cancel request header looks just like the original request except: | 26 | * An NT cancel request header looks just like the original request except: |
@@ -65,4 +66,8 @@ struct smb_version_operations smb1_operations = { | |||
65 | 66 | ||
66 | struct smb_version_values smb1_values = { | 67 | struct smb_version_values smb1_values = { |
67 | .version_string = SMB1_VERSION_STRING, | 68 | .version_string = SMB1_VERSION_STRING, |
69 | .large_lock_type = LOCKING_ANDX_LARGE_FILES, | ||
70 | .exclusive_lock_type = 0, | ||
71 | .shared_lock_type = LOCKING_ANDX_SHARED_LOCK, | ||
72 | .unlock_lock_type = 0, | ||
68 | }; | 73 | }; |