diff options
author | Steve French <smfrench@gmail.com> | 2013-06-21 16:35:45 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-26 18:26:03 -0400 |
commit | c8664730bb5c79d0f9a1845b83e38d20c7575d7d (patch) | |
tree | 6f2469ed06891fe73c6db55a9c5335a61a57046c /fs/cifs/smb2pdu.h | |
parent | 46b51d0835ef1e75dd48fe10c90f9c775301d9ee (diff) |
Some missing share flags
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r-- | fs/cifs/smb2pdu.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index d351377d2513..0ef06ec24a06 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h | |||
@@ -284,7 +284,10 @@ struct smb2_tree_connect_rsp { | |||
284 | #define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING 0x00000400 | 284 | #define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING 0x00000400 |
285 | #define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM 0x00000800 | 285 | #define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM 0x00000800 |
286 | #define SHI1005_FLAGS_FORCE_LEVELII_OPLOCK 0x00001000 | 286 | #define SHI1005_FLAGS_FORCE_LEVELII_OPLOCK 0x00001000 |
287 | #define SHI1005_FLAGS_ENABLE_HASH 0x00002000 | 287 | #define SHI1005_FLAGS_ENABLE_HASH_V1 0x00002000 |
288 | #define SHI1005_FLAGS_ENABLE_HASH_V2 0x00004000 | ||
289 | #define SHI1005_FLAGS_ENCRYPT_DATA 0x00008000 | ||
290 | #define SHI1005_FLAGS_ALL 0x0000FF33 | ||
288 | 291 | ||
289 | /* Possible share capabilities */ | 292 | /* Possible share capabilities */ |
290 | #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */ | 293 | #define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */ |
@@ -490,7 +493,7 @@ struct copychunk_ioctl { | |||
490 | /* array will only be one chunk long for us */ | 493 | /* array will only be one chunk long for us */ |
491 | __le64 SourceOffset; | 494 | __le64 SourceOffset; |
492 | __le64 TargetOffset; | 495 | __le64 TargetOffset; |
493 | __u32 Length; /* how many bytes to copy */ | 496 | __le32 Length; /* how many bytes to copy */ |
494 | __u32 Reserved2; | 497 | __u32 Reserved2; |
495 | } __packed; | 498 | } __packed; |
496 | 499 | ||