summaryrefslogtreecommitdiff
path: root/include/linux/fuse.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-10-16 16:08:57 +0200
committerMiklos Szeredi <miklos@szeredi.hu>2008-10-16 16:08:57 +0200
commit29d434b39c807320fbe4bcdce0ab98a0b9fcb285 (patch)
treeabb2db88d67449332dbc209a6e3724a3412f6a9c /include/linux/fuse.h
parent37194d0723b9b68b4b299b2564ca99e3d0a094c3 (diff)
fuse: add include protectors
Add include protectors to include/linux/fuse.h and fs/fuse/fuse_i.h. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r--include/linux/fuse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index 265635dc990..8bc1101e9b3 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -19,6 +19,9 @@
* - add file flags field to fuse_read_in and fuse_write_in
*/
+#ifndef _LINUX_FUSE_H
+#define _LINUX_FUSE_H
+
#include <asm/types.h>
#include <linux/major.h>
@@ -409,3 +412,5 @@ struct fuse_dirent {
#define FUSE_DIRENT_ALIGN(x) (((x) + sizeof(__u64) - 1) & ~(sizeof(__u64) - 1))
#define FUSE_DIRENT_SIZE(d) \
FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)
+
+#endif /* _LINUX_FUSE_H */