Skip to content

Commit

Permalink
CIFS: SMBD: Fix the definition for SMB2_CHANNEL_RDMA_V1_INVALIDATE
Browse files Browse the repository at this point in the history
The channel value for requesting server remote invalidating local memory
registration should be 0x00000002

Signed-off-by: Long Li <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
longlimsft authored and smfrench committed Oct 18, 2017
1 parent 7cb3def commit 4572f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/cifs/smb2pdu.h
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ struct smb2_flush_rsp {
/* Channel field for read and write: exactly one of following flags can be set*/
#define SMB2_CHANNEL_NONE 0x00000000
#define SMB2_CHANNEL_RDMA_V1 0x00000001 /* SMB3 or later */
#define SMB2_CHANNEL_RDMA_V1_INVALIDATE 0x00000001 /* SMB3.02 or later */
#define SMB2_CHANNEL_RDMA_V1_INVALIDATE 0x00000002 /* SMB3.02 or later */

/* SMB2 read request without RFC1001 length at the beginning */
struct smb2_read_plain_req {
Expand Down

0 comments on commit 4572f05

Please sign in to comment.