Skip to content

Commit af10b00

Browse files
Al ViroLinus Torvalds
authored andcommitted
[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>
1 parent 88c124d commit af10b00

8 files changed

Lines changed: 2 additions & 7 deletions

File tree

‎fs/befs/befs.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,6 @@ befs_brun_size(struct super_block *sb, befs_block_run run)
151151
return BEFS_SB(sb)->block_size * run.len;
152152
}
153153

154+
#include "endian.h"
155+
154156
#endif /* _LINUX_BEFS_H */

‎fs/befs/btree.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "befs.h"
3131
#include "btree.h"
3232
#include "datastream.h"
33-
#include "endian.h"
3433

3534
/*
3635
* The btree functions in this file are built on top of the

‎fs/befs/datastream.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "befs.h"
1919
#include "datastream.h"
2020
#include "io.h"
21-
#include "endian.h"
2221

2322
const befs_inode_addr BAD_IADDR = { 0, 0, 0 };
2423

‎fs/befs/debug.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#endif /* __KERNEL__ */
2222

2323
#include "befs.h"
24-
#include "endian.h"
2524

2625
#define ERRBUFSIZE 1024
2726

‎fs/befs/endian.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#define LINUX_BEFS_ENDIAN
1111

1212
#include <linux/byteorder/generic.h>
13-
#include "befs.h"
1413

1514
static inline u64
1615
fs64_to_cpu(const struct super_block *sb, u64 n)

‎fs/befs/inode.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "befs.h"
1010
#include "inode.h"
11-
#include "endian.h"
1211

1312
/*
1413
Validates the correctness of the befs inode

‎fs/befs/linuxvfs.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "datastream.h"
2323
#include "super.h"
2424
#include "io.h"
25-
#include "endian.h"
2625

2726
MODULE_DESCRIPTION("BeOS File System (BeFS) driver");
2827
MODULE_AUTHOR("Will Dyson");

‎fs/befs/super.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
#include "befs.h"
1313
#include "super.h"
14-
#include "endian.h"
1514

1615
/**
1716
* load_befs_sb -- Read from disk and properly byteswap all the fields

0 commit comments

Comments
 (0)