Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751948AbdH2TfF (ORCPT ); Tue, 29 Aug 2017 15:35:05 -0400 Received: from a2nlsmtp01-05.prod.iad2.secureserver.net ([198.71.225.49]:40436 "EHLO a2nlsmtp01-05.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbdH2Tap (ORCPT ); Tue, 29 Aug 2017 15:30:45 -0400 x-originating-ip: 107.180.71.197 From: Long Li To: Steve French , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Christoph Hellwig , Tom Talpey , Matthew Wilcox Cc: Long Li Subject: [Patch v3 12/19] CIFS: SMBD: Fix the definition for SMB2_CHANNEL_RDMA_V1_INVALIDATE Date: Tue, 29 Aug 2017 12:29:08 -0700 Message-Id: <20170829192915.26251-13-longli@exchange.microsoft.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170829192915.26251-1-longli@exchange.microsoft.com> References: <20170829192915.26251-1-longli@exchange.microsoft.com> X-CMAE-Envelope: MS4wfIeKNGrif9daZOomAJqbjLsgxayfKBYWLEg4sRYYaTvmRTJNZnX2FcXRJyHv/fXUUh74f5HIJ7LyWJ+hGbapCOodw9XOJfE7Ly2h4lDrpMMrR8A7AM79 js7MQqvIIXq5BMqpxOChOUYew1BnMD0D1m56pkUt/LWZK9IUtq4B5lOodYYLp68Bv+JVsbB1p15Mxl+la6YRK/hlBPR3wVCPcj7PGNfUc2/4QaF2G1sfQubQ /UAphoS2B086Sknr19+4qX7CL/aD+Xp9I6HOpJ8+w4hi+UQM68C0zabEf7ummozKJpAfNXKKmdfctJDrWJ2gRgFHSGt7kHI+NGHPKheB9LUGrkMBvNiO0wxd +KqSXiep40QaN3dLb+V1IiMWPGpJVfqQtpNKoukGQprt6yrYoZWDJTLMbadfX76Tc5KvqwNH482OfOfQ/7+wz7uIEC2PO5YUrWRuK4hFXPxy1NbMIaLsryfc MyIROkt5OHPIZCRH Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 25 From: Long Li The channel value for requesting server remote invalidating local memory registration should be 0x00000002 Signed-off-by: Long Li --- fs/cifs/smb2pdu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 18700fd..0417a36 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -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 { -- 2.7.4