aboutsummaryrefslogtreecommitdiffstats
path: root/fs/befs
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-24 01:13:13 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-10 16:15:33 -0700
commitaf10b0084dff530fb7232a0f8bbc4499e9c58574 (patch)
tree584a22fa803e770c6dc684a04822f8db448d927f /fs/befs
parent88c124d847d0fc60531e45323752665b01fc14f0 (diff)
downloadkernel_samsung_tuna-af10b0084dff530fb7232a0f8bbc4499e9c58574.zip
kernel_samsung_tuna-af10b0084dff530fb7232a0f8bbc4499e9c58574.tar.gz
kernel_samsung_tuna-af10b0084dff530fb7232a0f8bbc4499e9c58574.tar.bz2
[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>
Diffstat (limited to 'fs/befs')
-rw-r--r--fs/befs/befs.h2
-rw-r--r--fs/befs/btree.c1
-rw-r--r--fs/befs/datastream.c1
-rw-r--r--fs/befs/debug.c1
-rw-r--r--fs/befs/endian.h1
-rw-r--r--fs/befs/inode.c1
-rw-r--r--fs/befs/linuxvfs.c1
-rw-r--r--fs/befs/super.c1
8 files changed, 2 insertions, 7 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h
index 057a2c3..c400bb6 100644
--- a/fs/befs/befs.h
+++ b/fs/befs/befs.h
@@ -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 */
diff --git a/fs/befs/btree.c b/fs/befs/btree.c
index 76e2197..12e0fd6 100644
--- a/fs/befs/btree.c
+++ b/fs/befs/btree.c
@@ -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
diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c
index b7d6b92..67335e2 100644
--- a/fs/befs/datastream.c
+++ b/fs/befs/datastream.c
@@ -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 };
diff --git a/fs/befs/debug.c b/fs/befs/debug.c
index 875cc0a..3afd088 100644
--- a/fs/befs/debug.c
+++ b/fs/befs/debug.c
@@ -21,7 +21,6 @@
#endif /* __KERNEL__ */
#include "befs.h"
-#include "endian.h"
#define ERRBUFSIZE 1024
diff --git a/fs/befs/endian.h b/fs/befs/endian.h
index 9ecaea4..d77a26e 100644
--- a/fs/befs/endian.h
+++ b/fs/befs/endian.h
@@ -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)
diff --git a/fs/befs/inode.c b/fs/befs/inode.c
index d41c924..94c17f9 100644
--- a/fs/befs/inode.c
+++ b/fs/befs/inode.c
@@ -8,7 +8,6 @@
#include "befs.h"
#include "inode.h"
-#include "endian.h"
/*
Validates the correctness of the befs inode
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 57020c7..07f7144 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -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");
diff --git a/fs/befs/super.c b/fs/befs/super.c
index 4557acb..8c3401f 100644
--- a/fs/befs/super.c
+++ b/fs/befs/super.c
@@ -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