1 From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2 Subject: Re: [RFC][PATCH 02/10] cifs: guard cifsglob.h against multiple
4 Date: Tue, 22 Jun 2010 17:37:42 -0400
6 Message-ID: <20100622173742.448e1e94@corrin.poochiereds.net>
8 <1277220170-3442-1-git-send-email-sjayaraman@suse.de>
10 Content-Type: text/plain; charset=US-ASCII
11 Content-Transfer-Encoding: 7bit
12 Cc: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
13 linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
14 David Howells <dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
15 To: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
16 X-From: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Tue Jun 22 23:36:08 2010
17 Return-path: <linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
18 Envelope-to: glkc-linux-cifs-1dZseelyfdZg9hUCZPvPmw@public.gmane.org
19 Received: from vger.kernel.org ([209.132.180.67])
20 by lo.gmane.org with esmtp (Exim 4.69)
21 (envelope-from <linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>)
23 for glkc-linux-cifs-1dZseelyfdZg9hUCZPvPmw@public.gmane.org; Tue, 22 Jun 2010 23:36:08 +0200
24 Received: (majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org) by vger.kernel.org via listexpand
25 id S1751663Ab0FVVfq (ORCPT <rfc822;glkc-linux-cifs@m.gmane.org>);
26 Tue, 22 Jun 2010 17:35:46 -0400
27 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:46190 "EHLO
28 cdptpa-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
29 with ESMTP id S1751933Ab0FVVfo (ORCPT
30 <rfc822;linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>); Tue, 22 Jun 2010 17:35:44 -0400
31 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
33 X-Originating-IP: 71.70.153.3
34 Received: from [71.70.153.3] ([71.70.153.3:49036] helo=mail.poochiereds.net)
35 by cdptpa-oedge01.mail.rr.com (envelope-from <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>)
36 (ecelerity 2.2.2.39 r()) with ESMTP
37 id 29/22-24471-DAC212C4; Tue, 22 Jun 2010 21:35:42 +0000
38 Received: from corrin.poochiereds.net (unknown [65.88.2.5])
39 by mail.poochiereds.net (Postfix) with ESMTPSA id 1C5A1580F4;
40 Tue, 22 Jun 2010 17:35:41 -0400 (EDT)
41 In-Reply-To: <1277220170-3442-1-git-send-email-sjayaraman-l3A5Bk7waGM@public.gmane.org>
42 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; x86_64-redhat-linux-gnu)
43 Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
45 List-ID: <linux-cifs.vger.kernel.org>
46 X-Mailing-List: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
47 Archived-At: <http://permalink.gmane.org/gmane.linux.kernel/1001913>
49 On Tue, 22 Jun 2010 20:52:50 +0530
50 Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org> wrote:
52 > Add conditional compile macros to guard the header file against multiple
55 > Signed-off-by: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
57 > fs/cifs/cifsglob.h | 5 +++++
58 > 1 files changed, 5 insertions(+), 0 deletions(-)
60 > diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
61 > index a88479c..6b2c39d 100644
62 > --- a/fs/cifs/cifsglob.h
63 > +++ b/fs/cifs/cifsglob.h
65 > * the GNU Lesser General Public License for more details.
68 > +#ifndef _CIFS_GLOB_H
69 > +#define _CIFS_GLOB_H
71 > #include <linux/in.h>
72 > #include <linux/in6.h>
73 > #include <linux/slab.h>
74 > @@ -733,3 +736,5 @@ GLOBAL_EXTERN unsigned int cifs_min_small; /* min size of small buf pool */
75 > GLOBAL_EXTERN unsigned int cifs_max_pending; /* MAX requests at once to server*/
77 > extern const struct slow_work_ops cifs_oplock_break_ops;
79 > +#endif /* _CIFS_GLOB_H */
83 Acked-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>