diff options
| author | Steve French <stfrench@microsoft.com> | 2019-04-27 03:06:20 -0400 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2019-05-08 00:24:55 -0400 |
| commit | 0df7edd9dca0c79817723f0e3895ec76351f08cc (patch) | |
| tree | e28f606ccf4fc726fba9a32c0952200fe8815326 | |
| parent | 2f3ebaba13cebd8badfb9aed31c0cf3cc82eb4f4 (diff) | |
Add new flag on SMB3.1.1 read
For compressed read support. See MS-SMB2 3.1.4.4
Signed-off-by: Steve French <stfrench@microsoft.com>
| -rw-r--r-- | fs/cifs/smb2pdu.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
| 1078 | 1078 | ||
| 1079 | /* For read request Flags field below, following flag is defined for SMB3.02 */ | 1079 | /* For read request Flags field below, following flag is defined for SMB3.02 */ |
| 1080 | #define SMB2_READFLAG_READ_UNBUFFERED 0x01 | 1080 | #define SMB2_READFLAG_READ_UNBUFFERED 0x01 |
| 1081 | #define SMB2_READFLAG_REQUEST_COMPRESSED 0x02 /* See MS-SMB2 2.2.19 */ | ||
| 1081 | 1082 | ||
| 1082 | /* Channel field for read and write: exactly one of following flags can be set*/ | 1083 | /* Channel field for read and write: exactly one of following flags can be set*/ |
| 1083 | #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000) | 1084 | #define SMB2_CHANNEL_NONE cpu_to_le32(0x00000000) |
