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

[PATCH] befs: prepare to sanitizing headers

pulled includes of endian.h from fs/befs/*.c to befs.h

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Al Viro and committed by
Linus Torvalds
af10b008 88c124d8

+2 -7
+2
fs/befs/befs.h
··· 151 151 return BEFS_SB(sb)->block_size * run.len; 152 152 } 153 153 154 + #include "endian.h" 155 + 154 156 #endif /* _LINUX_BEFS_H */
-1
fs/befs/btree.c
··· 30 30 #include "befs.h" 31 31 #include "btree.h" 32 32 #include "datastream.h" 33 - #include "endian.h" 34 33 35 34 /* 36 35 * The btree functions in this file are built on top of the
-1
fs/befs/datastream.c
··· 18 18 #include "befs.h" 19 19 #include "datastream.h" 20 20 #include "io.h" 21 - #include "endian.h" 22 21 23 22 const befs_inode_addr BAD_IADDR = { 0, 0, 0 }; 24 23
-1
fs/befs/debug.c
··· 21 21 #endif /* __KERNEL__ */ 22 22 23 23 #include "befs.h" 24 - #include "endian.h" 25 24 26 25 #define ERRBUFSIZE 1024 27 26
-1
fs/befs/endian.h
··· 10 10 #define LINUX_BEFS_ENDIAN 11 11 12 12 #include <linux/byteorder/generic.h> 13 - #include "befs.h" 14 13 15 14 static inline u64 16 15 fs64_to_cpu(const struct super_block *sb, u64 n)
-1
fs/befs/inode.c
··· 8 8 9 9 #include "befs.h" 10 10 #include "inode.h" 11 - #include "endian.h" 12 11 13 12 /* 14 13 Validates the correctness of the befs inode
-1
fs/befs/linuxvfs.c
··· 22 22 #include "datastream.h" 23 23 #include "super.h" 24 24 #include "io.h" 25 - #include "endian.h" 26 25 27 26 MODULE_DESCRIPTION("BeOS File System (BeFS) driver"); 28 27 MODULE_AUTHOR("Will Dyson");
-1
fs/befs/super.c
··· 11 11 12 12 #include "befs.h" 13 13 #include "super.h" 14 - #include "endian.h" 15 14 16 15 /** 17 16 * load_befs_sb -- Read from disk and properly byteswap all the fields