[PATCH] befs: prepare to sanitizing headers
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 24 Dec 2005 06:13:13 +0000 (01:13 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 23:15:33 +0000 (16:15 -0700)
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>
fs/befs/befs.h
fs/befs/btree.c
fs/befs/datastream.c
fs/befs/debug.c
fs/befs/endian.h
fs/befs/inode.c
fs/befs/linuxvfs.c
fs/befs/super.c

index 057a2c3d73b77dc4afb1e1522363337fa673b995..c400bb6a6b71fa9bef13115c73443fe9bdfd5d7c 100644 (file)
@@ -151,4 +151,6 @@ befs_brun_size(struct super_block *sb, befs_block_run run)
        return BEFS_SB(sb)->block_size * run.len;
 }
 
+#include "endian.h"
+
 #endif                         /* _LINUX_BEFS_H */
index 76e2197994095ca57c6f3c712e7b15e9b47e700e..12e0fd60033efa48d43854580212d6ccd08fbf36 100644 (file)
@@ -30,7 +30,6 @@
 #include "befs.h"
 #include "btree.h"
 #include "datastream.h"
-#include "endian.h"
 
 /*
  * The btree functions in this file are built on top of the
index b7d6b920f65f129a1c2e656cf61d11329d33dcea..67335e2853f6b5c4095a8ef1b5d70300168da512 100644 (file)
@@ -18,7 +18,6 @@
 #include "befs.h"
 #include "datastream.h"
 #include "io.h"
-#include "endian.h"
 
 const befs_inode_addr BAD_IADDR = { 0, 0, 0 };
 
index 875cc0aa318c9c803ee70bd0fe64532fb80dedfa..3afd0882fdb9c67cc2b8dc936cad9c06a3a5620a 100644 (file)
@@ -21,7 +21,6 @@
 #endif                         /* __KERNEL__ */
 
 #include "befs.h"
-#include "endian.h"
 
 #define ERRBUFSIZE 1024
 
index 9ecaea4e3325f661fda861ebb78ade6b5c1385fb..d77a26e7bd971bc567577e7336b8b7f227138961 100644 (file)
@@ -10,7 +10,6 @@
 #define LINUX_BEFS_ENDIAN
 
 #include <linux/byteorder/generic.h>
-#include "befs.h"
 
 static inline u64
 fs64_to_cpu(const struct super_block *sb, u64 n)
index d41c9247ae8af62764f7fa05226a68437bff7508..94c17f9a95767ca7a4d775bb5b662c9cd279f9ff 100644 (file)
@@ -8,7 +8,6 @@
 
 #include "befs.h"
 #include "inode.h"
-#include "endian.h"
 
 /*
        Validates the correctness of the befs inode
index 57020c7a7e6589fc84717d6015743bcbd9004627..07f7144f0e2e942feb736e33b315c8baae03cb20 100644 (file)
@@ -22,7 +22,6 @@
 #include "datastream.h"
 #include "super.h"
 #include "io.h"
-#include "endian.h"
 
 MODULE_DESCRIPTION("BeOS File System (BeFS) driver");
 MODULE_AUTHOR("Will Dyson");
index 4557acbac5283d2d5c26e818088b20d2863f6316..8c3401ff6d6a2a50013423feedff544b2f946f14 100644 (file)
@@ -11,7 +11,6 @@
 
 #include "befs.h"
 #include "super.h"
-#include "endian.h"
 
 /**
  * load_befs_sb -- Read from disk and properly byteswap all the fields