Add new flag on SMB3.1.1 read
authorSteve French <stfrench@microsoft.com>
Sat, 27 Apr 2019 07:06:20 +0000 (02:06 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:55 +0000 (23:24 -0500)
For compressed read support.  See MS-SMB2 3.1.4.4

Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.h

index 82686e9d9e05b5275414298065f9bf644e56850c..aaf3f03c95d042a42cbb83429a778f1b9f5cd55b 100644 (file)
@@ -1078,6 +1078,7 @@ struct smb2_flush_rsp {
 
 /* For read request Flags field below, following flag is defined for SMB3.02 */
 #define SMB2_READFLAG_READ_UNBUFFERED  0x01
+#define SMB2_READFLAG_REQUEST_COMPRESSED 0x02 /* See MS-SMB2 2.2.19 */
 
 /* Channel field for read and write: exactly one of following flags can be set*/
 #define SMB2_CHANNEL_NONE      cpu_to_le32(0x00000000)