diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-12-24 01:13:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 19:15:33 -0400 |
commit | af10b0084dff530fb7232a0f8bbc4499e9c58574 (patch) | |
tree | 584a22fa803e770c6dc684a04822f8db448d927f /fs/befs | |
parent | 88c124d847d0fc60531e45323752665b01fc14f0 (diff) |
[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.h | 2 | ||||
-rw-r--r-- | fs/befs/btree.c | 1 | ||||
-rw-r--r-- | fs/befs/datastream.c | 1 | ||||
-rw-r--r-- | fs/befs/debug.c | 1 | ||||
-rw-r--r-- | fs/befs/endian.h | 1 | ||||
-rw-r--r-- | fs/befs/inode.c | 1 | ||||
-rw-r--r-- | fs/befs/linuxvfs.c | 1 | ||||
-rw-r--r-- | fs/befs/super.c | 1 |
8 files changed, 2 insertions, 7 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h index 057a2c3d73b7..c400bb6a6b71 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) | |||
151 | return BEFS_SB(sb)->block_size * run.len; | 151 | return BEFS_SB(sb)->block_size * run.len; |
152 | } | 152 | } |
153 | 153 | ||
154 | #include "endian.h" | ||
155 | |||
154 | #endif /* _LINUX_BEFS_H */ | 156 | #endif /* _LINUX_BEFS_H */ |
diff --git a/fs/befs/btree.c b/fs/befs/btree.c index 76e219799409..12e0fd60033e 100644 --- a/fs/befs/btree.c +++ b/fs/befs/btree.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include "befs.h" | 30 | #include "befs.h" |
31 | #include "btree.h" | 31 | #include "btree.h" |
32 | #include "datastream.h" | 32 | #include "datastream.h" |
33 | #include "endian.h" | ||
34 | 33 | ||
35 | /* | 34 | /* |
36 | * The btree functions in this file are built on top of the | 35 | * 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 b7d6b920f65f..67335e2853f6 100644 --- a/fs/befs/datastream.c +++ b/fs/befs/datastream.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include "befs.h" | 18 | #include "befs.h" |
19 | #include "datastream.h" | 19 | #include "datastream.h" |
20 | #include "io.h" | 20 | #include "io.h" |
21 | #include "endian.h" | ||
22 | 21 | ||
23 | const befs_inode_addr BAD_IADDR = { 0, 0, 0 }; | 22 | const befs_inode_addr BAD_IADDR = { 0, 0, 0 }; |
24 | 23 | ||
diff --git a/fs/befs/debug.c b/fs/befs/debug.c index 875cc0aa318c..3afd0882fdb9 100644 --- a/fs/befs/debug.c +++ b/fs/befs/debug.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #endif /* __KERNEL__ */ | 21 | #endif /* __KERNEL__ */ |
22 | 22 | ||
23 | #include "befs.h" | 23 | #include "befs.h" |
24 | #include "endian.h" | ||
25 | 24 | ||
26 | #define ERRBUFSIZE 1024 | 25 | #define ERRBUFSIZE 1024 |
27 | 26 | ||
diff --git a/fs/befs/endian.h b/fs/befs/endian.h index 9ecaea4e3325..d77a26e7bd97 100644 --- a/fs/befs/endian.h +++ b/fs/befs/endian.h | |||
@@ -10,7 +10,6 @@ | |||
10 | #define LINUX_BEFS_ENDIAN | 10 | #define LINUX_BEFS_ENDIAN |
11 | 11 | ||
12 | #include <linux/byteorder/generic.h> | 12 | #include <linux/byteorder/generic.h> |
13 | #include "befs.h" | ||
14 | 13 | ||
15 | static inline u64 | 14 | static inline u64 |
16 | fs64_to_cpu(const struct super_block *sb, u64 n) | 15 | fs64_to_cpu(const struct super_block *sb, u64 n) |
diff --git a/fs/befs/inode.c b/fs/befs/inode.c index d41c9247ae8a..94c17f9a9576 100644 --- a/fs/befs/inode.c +++ b/fs/befs/inode.c | |||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | #include "befs.h" | 9 | #include "befs.h" |
10 | #include "inode.h" | 10 | #include "inode.h" |
11 | #include "endian.h" | ||
12 | 11 | ||
13 | /* | 12 | /* |
14 | Validates the correctness of the befs inode | 13 | Validates the correctness of the befs inode |
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 57020c7a7e65..07f7144f0e2e 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include "datastream.h" | 22 | #include "datastream.h" |
23 | #include "super.h" | 23 | #include "super.h" |
24 | #include "io.h" | 24 | #include "io.h" |
25 | #include "endian.h" | ||
26 | 25 | ||
27 | MODULE_DESCRIPTION("BeOS File System (BeFS) driver"); | 26 | MODULE_DESCRIPTION("BeOS File System (BeFS) driver"); |
28 | MODULE_AUTHOR("Will Dyson"); | 27 | MODULE_AUTHOR("Will Dyson"); |
diff --git a/fs/befs/super.c b/fs/befs/super.c index 4557acbac528..8c3401ff6d6a 100644 --- a/fs/befs/super.c +++ b/fs/befs/super.c | |||
@@ -11,7 +11,6 @@ | |||
11 | 11 | ||
12 | #include "befs.h" | 12 | #include "befs.h" |
13 | #include "super.h" | 13 | #include "super.h" |
14 | #include "endian.h" | ||
15 | 14 | ||
16 | /** | 15 | /** |
17 | * load_befs_sb -- Read from disk and properly byteswap all the fields | 16 | * load_befs_sb -- Read from disk and properly byteswap all the fields |