Skip to content

Commit

Permalink
[PATCH] befs: prepare to sanitizing headers
Browse files Browse the repository at this point in the history
pulled includes of endian.h from fs/befs/*.c to befs.h

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 10, 2006
1 parent 88c124d commit af10b00
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions fs/befs/befs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
1 change: 0 additions & 1 deletion fs/befs/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion fs/befs/datastream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Expand Down
1 change: 0 additions & 1 deletion fs/befs/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#endif /* __KERNEL__ */

#include "befs.h"
#include "endian.h"

#define ERRBUFSIZE 1024

Expand Down
1 change: 0 additions & 1 deletion fs/befs/endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion fs/befs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "befs.h"
#include "inode.h"
#include "endian.h"

/*
Validates the correctness of the befs inode
Expand Down
1 change: 0 additions & 1 deletion fs/befs/linuxvfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 0 additions & 1 deletion fs/befs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af10b00

Please sign in to comment.