From: Jeff Layton Subject: Re: [RFC][PATCH 02/10] cifs: guard cifsglob.h against multiple inclusion Date: Tue, 22 Jun 2010 17:37:42 -0400 Lines: 35 Message-ID: <20100622173742.448e1e94@corrin.poochiereds.net> References: <1277220170-3442-1-git-send-email-sjayaraman@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Steve French , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Howells To: Suresh Jayaraman X-From: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Tue Jun 22 23:36:08 2010 Return-path: Envelope-to: glkc-linux-cifs-1dZseelyfdZg9hUCZPvPmw@public.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ORB8Z-00027v-R8 for glkc-linux-cifs-1dZseelyfdZg9hUCZPvPmw@public.gmane.org; Tue, 22 Jun 2010 23:36:08 +0200 Received: (majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org) by vger.kernel.org via listexpand id S1751663Ab0FVVfq (ORCPT ); Tue, 22 Jun 2010 17:35:46 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:46190 "EHLO cdptpa-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751933Ab0FVVfo (ORCPT ); Tue, 22 Jun 2010 17:35:44 -0400 X-Authority-Analysis: v=1.0 c=1 a=Y4kVDsoNLLAA:10 a=yQWWgrYGNuUA:10 a=kj9zAlcOel0A:10 a=hGzw-44bAAAA:8 a=6UT2YofcClCzWf3PPoQA:9 a=Ipo6nwFRv7ENfF13HvmH_iG48b8A:4 a=CjuIK1q_8ugA:10 a=0kPLrQdw3YYA:10 a=dowx1zmaLagA:10 X-Cloudmark-Score: 0 X-Originating-IP: 71.70.153.3 Received: from [71.70.153.3] ([71.70.153.3:49036] helo=mail.poochiereds.net) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 29/22-24471-DAC212C4; Tue, 22 Jun 2010 21:35:42 +0000 Received: from corrin.poochiereds.net (unknown [65.88.2.5]) by mail.poochiereds.net (Postfix) with ESMTPSA id 1C5A1580F4; Tue, 22 Jun 2010 17:35:41 -0400 (EDT) In-Reply-To: <1277220170-3442-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-redhat-linux-gnu) Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Archived-At: On Tue, 22 Jun 2010 20:52:50 +0530 Suresh Jayaraman wrote: > Add conditional compile macros to guard the header file against multiple > inclusion. > > Signed-off-by: Suresh Jayaraman > --- > fs/cifs/cifsglob.h | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h > index a88479c..6b2c39d 100644 > --- a/fs/cifs/cifsglob.h > +++ b/fs/cifs/cifsglob.h > @@ -16,6 +16,9 @@ > * the GNU Lesser General Public License for more details. > * > */ > +#ifndef _CIFS_GLOB_H > +#define _CIFS_GLOB_H > + > #include > #include > #include > @@ -733,3 +736,5 @@ GLOBAL_EXTERN unsigned int cifs_min_small; /* min size of small buf pool */ > GLOBAL_EXTERN unsigned int cifs_max_pending; /* MAX requests at once to server*/ > > extern const struct slow_work_ops cifs_oplock_break_ops; > + > +#endif /* _CIFS_GLOB_H */ Strong ACK Acked-by: Jeff Layton