summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-06-22 00:35:45 +0400
committerSteve French <smfrench@gmail.com>2013-06-27 02:26:03 +0400
commitc8664730bb5c79d0f9a1845b83e38d20c7575d7d (patch)
tree6f2469ed06891fe73c6db55a9c5335a61a57046c /fs/cifs/smb2pdu.h
parent46b51d0835ef1e75dd48fe10c90f9c775301d9ee (diff)
downloadlinux-c8664730bb5c79d0f9a1845b83e38d20c7575d7d.tar.xz
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.h7
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 {
#define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING 0x00000400
#define SHI1005_FLAGS_ACCESS_BASED_DIRECTORY_ENUM 0x00000800
#define SHI1005_FLAGS_FORCE_LEVELII_OPLOCK 0x00001000
-#define SHI1005_FLAGS_ENABLE_HASH 0x00002000
+#define SHI1005_FLAGS_ENABLE_HASH_V1 0x00002000
+#define SHI1005_FLAGS_ENABLE_HASH_V2 0x00004000
+#define SHI1005_FLAGS_ENCRYPT_DATA 0x00008000
+#define SHI1005_FLAGS_ALL 0x0000FF33
/* Possible share capabilities */
#define SMB2_SHARE_CAP_DFS cpu_to_le32(0x00000008) /* all dialects */
@@ -490,7 +493,7 @@ struct copychunk_ioctl {
/* array will only be one chunk long for us */
__le64 SourceOffset;
__le64 TargetOffset;
- __u32 Length; /* how many bytes to copy */
+ __le32 Length; /* how many bytes to copy */
__u32 Reserved2;
} __packed;