aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.de>2010-06-22 11:22:50 -0400
committerSteve French <sfrench@us.ibm.com>2010-08-02 08:40:32 -0400
commitabd2e44dca2c5d65e047224c6ba4b4c8059f97f8 (patch)
treeb6f71a269e58ba5aecf6b71219178e1510e0b6af
parent9fe6206f400646a2322096b56c59891d530e8d51 (diff)
cifs: guard cifsglob.h against multiple inclusion
Add conditional compile macros to guard the header file against multiple inclusion. Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r--fs/cifs/cifsglob.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index a88479ceaad5..6b2c39d809fb 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -16,6 +16,9 @@
16 * the GNU Lesser General Public License for more details. 16 * the GNU Lesser General Public License for more details.
17 * 17 *
18 */ 18 */
19#ifndef _CIFS_GLOB_H
20#define _CIFS_GLOB_H
21
19#include <linux/in.h> 22#include <linux/in.h>
20#include <linux/in6.h> 23#include <linux/in6.h>
21#include <linux/slab.h> 24#include <linux/slab.h>
@@ -733,3 +736,5 @@ GLOBAL_EXTERN unsigned int cifs_min_small; /* min size of small buf pool */
733GLOBAL_EXTERN unsigned int cifs_max_pending; /* MAX requests at once to server*/ 736GLOBAL_EXTERN unsigned int cifs_max_pending; /* MAX requests at once to server*/
734 737
735extern const struct slow_work_ops cifs_oplock_break_ops; 738extern const struct slow_work_ops cifs_oplock_break_ops;
739
740#endif /* _CIFS_GLOB_H */