Skip to contentSkip to conversation

befs: prepare to sanitizing headers

PATCH In review Al Viro 1 participant 1 message Oct 10, 2006 Befs file system

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 5/16 befs: prepare to sanitizing headers

Date: Sat, 24 Dec 2005 01:13:13 -0500

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

---
 fs/befs/befs.h       |    2 ++
 fs/befs/btree.c      |    1 -
 fs/befs/datastream.c |    1 -
 fs/befs/debug.c      |    1 -
 fs/befs/endian.h     |    1 -
 fs/befs/inode.c      |    1 -
 fs/befs/linuxvfs.c   |    1 -
 fs/befs/super.c      |    1 -
 8 files changed, 2 insertions(+), 7 deletions(-)
fs/befs/befs.h +2 -0
index 057a2c3..c400bb6 100644
@@ -151,4 +151,6 @@ befs_brun_size(struct super_block *sb, b
 	return BEFS_SB(sb)->block_size * run.len;
 }
 
+#include "endian.h"
+
 #endif				/* _LINUX_BEFS_H */
fs/befs/btree.c +0 -1
index 76e2197..12e0fd6 100644
@@ -30,7 +30,6 @@ #include <linux/buffer_head.h>
 #include "befs.h"
 #include "btree.h"
 #include "datastream.h"
-#include "endian.h"
 
 /*
  * The btree functions in this file are built on top of the
fs/befs/datastream.c +0 -1
index b7d6b92..67335e2 100644
@@ -18,7 +18,6 @@ #include <linux/string.h>
 #include "befs.h"
 #include "datastream.h"
 #include "io.h"
-#include "endian.h"
 
 const befs_inode_addr BAD_IADDR = { 0, 0, 0 };
 
fs/befs/debug.c +0 -1
index 875cc0a..3afd088 100644
@@ -21,7 +21,6 @@ #include <linux/fs.h>
 #endif				/* __KERNEL__ */
 
 #include "befs.h"
-#include "endian.h"
 
 #define ERRBUFSIZE 1024
 
fs/befs/endian.h +0 -1
index 9ecaea4..d77a26e 100644
@@ -10,7 +10,6 @@ #ifndef LINUX_BEFS_ENDIAN
 #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)
fs/befs/inode.c +0 -1
index d41c924..94c17f9 100644
@@ -8,7 +8,6 @@ #include <linux/fs.h>
 
 #include "befs.h"
 #include "inode.h"
-#include "endian.h"
 
 /*
 	Validates the correctness of the befs inode
fs/befs/linuxvfs.c +0 -1
index 57020c7..07f7144 100644
@@ -22,7 +22,6 @@ #include "inode.h"
 #include "datastream.h"
 #include "super.h"
 #include "io.h"
-#include "endian.h"
 
 MODULE_DESCRIPTION("BeOS File System (BeFS) driver");
 MODULE_AUTHOR("Will Dyson");
fs/befs/super.c +0 -1
index 4557acb..8c3401f 100644
@@ -11,7 +11,6 @@ #include <linux/fs.h>
 
 #include "befs.h"
 #include "super.h"
-#include "endian.h"
 
 /**
  * load_befs_sb -- Read from disk and properly byteswap all the fields
Signature · 1 line
1.4.2.GIT