summaryrefslogtreecommitdiff
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-06-20 02:41:10 +0400
committerSteve French <smfrench@gmail.com>2013-06-24 10:56:47 +0400
commitbe7457d388d25e5d2ebba4c7f216b47b5e3d1eef (patch)
tree2fe545ec48c6d35c4c7cdb76e2f391ac78a0c272 /fs/cifs/cifspdu.h
parentf43a033d44c3f2f6b153c9c63fff0132f4314f24 (diff)
downloadlinux-be7457d388d25e5d2ebba4c7f216b47b5e3d1eef.tar.xz
Update headers to update various SMB3 ioctl definitions
MS-SMB2 Section 2.2.31 lists fsctls. Update our list of valid cifs/smb2/smb3 fsctls and some related structs based on more recent version of docs. Additional detail on less common ones can be found in MS-FSCC section 2.3. CopyChunk (server side copy, ie refcopy) will depend on a few of these Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 4e6135a39fd1..7e8523c5c18e 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -1315,6 +1315,14 @@ typedef struct smb_com_ntransact_rsp {
/* parms and data follow */
} __attribute__((packed)) NTRANSACT_RSP;
+/* See MS-SMB 2.2.7.2.1.1 */
+struct srv_copychunk {
+ __le64 SourceOffset;
+ __le64 DestinationOffset;
+ __le32 CopyLength;
+ __u32 Reserved;
+} __packed;
+
typedef struct smb_com_transaction_ioctl_req {
struct smb_hdr hdr; /* wct = 23 */
__u8 MaxSetupCount;