From 0df7edd9dca0c79817723f0e3895ec76351f08cc Mon Sep 17 00:00:00 2001 From: Steve French Date: Sat, 27 Apr 2019 02:06:20 -0500 Subject: [PATCH] Add new flag on SMB3.1.1 read For compressed read support. See MS-SMB2 3.1.4.4 Signed-off-by: Steve French --- fs/cifs/smb2pdu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 82686e9d9e05..aaf3f03c95d0 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -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) -- 2.30.2