Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752389AbdHMKKx (ORCPT ); Sun, 13 Aug 2017 06:10:53 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:52172 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751031AbdHMKKv (ORCPT ); Sun, 13 Aug 2017 06:10:51 -0400 Date: Sun, 13 Aug 2017 03:10:47 -0700 From: Christoph Hellwig To: Long Li Cc: Steve French , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-kernel@vger.kernel.org, Long Li Subject: Re: [[PATCH v1] 02/37] [CIFS] SMBD: Add structure for SMBD transport Message-ID: <20170813101047.GA17287@infradead.org> References: <1501704648-20159-1-git-send-email-longli@exchange.microsoft.com> <1501704648-20159-3-git-send-email-longli@exchange.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1501704648-20159-3-git-send-email-longli@exchange.microsoft.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2417 Lines: 65 On Wed, Aug 02, 2017 at 01:10:13PM -0700, Long Li wrote: > From: Long Li > > Define a new structure for SMBD transport. This stucture will have all the > information on the transport, and it will be stored in the current SMB session. > > Signed-off-by: Long Li > --- > fs/cifs/cifsrdma.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > fs/cifs/cifsrdma.h | 45 +++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 101 insertions(+) > create mode 100644 fs/cifs/cifsrdma.c > create mode 100644 fs/cifs/cifsrdma.h > > diff --git a/fs/cifs/cifsrdma.c b/fs/cifs/cifsrdma.c > new file mode 100644 > index 0000000..a2c0478 > --- /dev/null > +++ b/fs/cifs/cifsrdma.c > @@ -0,0 +1,56 @@ > +/* > + * Copyright (C) 2017, Microsoft Corporation. > + * > + * Author(s): Long Li > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See > + * the GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, write to the Free Software > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + */ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Where do all these includes come from? It seems like most of them are not actually used in the code.