Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tejun Heo and committed by
Miklos Szeredi
29d434b3 37194d07

+10
+5
fs/fuse/fuse_i.h
··· 6 6 See the file COPYING. 7 7 */ 8 8 9 + #ifndef _FS_FUSE_I_H 10 + #define _FS_FUSE_I_H 11 + 9 12 #include <linux/fuse.h> 10 13 #include <linux/fs.h> 11 14 #include <linux/mount.h> ··· 658 655 void fuse_release_nowrite(struct inode *inode); 659 656 660 657 u64 fuse_get_attr_version(struct fuse_conn *fc); 658 + 659 + #endif /* _FS_FUSE_I_H */
+5
include/linux/fuse.h
··· 19 19 * - add file flags field to fuse_read_in and fuse_write_in 20 20 */ 21 21 22 + #ifndef _LINUX_FUSE_H 23 + #define _LINUX_FUSE_H 24 + 22 25 #include <asm/types.h> 23 26 #include <linux/major.h> 24 27 ··· 412 409 #define FUSE_DIRENT_ALIGN(x) (((x) + sizeof(__u64) - 1) & ~(sizeof(__u64) - 1)) 413 410 #define FUSE_DIRENT_SIZE(d) \ 414 411 FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen) 412 + 413 + #endif /* _LINUX_FUSE_H */