فهرست منبع

[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>
Al Viro 19 سال پیش
والد
کامیت
af10b0084d
8فایلهای تغییر یافته به همراه2 افزوده شده و 7 حذف شده
  1. 2 0
      fs/befs/befs.h
  2. 0 1
      fs/befs/btree.c
  3. 0 1
      fs/befs/datastream.c
  4. 0 1
      fs/befs/debug.c
  5. 0 1
      fs/befs/endian.h
  6. 0 1
      fs/befs/inode.c
  7. 0 1
      fs/befs/linuxvfs.c
  8. 0 1
      fs/befs/super.c

+ 2 - 0
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 */

+ 0 - 1
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

+ 0 - 1
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 };
 

+ 0 - 1
fs/befs/debug.c

@@ -21,7 +21,6 @@
 #endif				/* __KERNEL__ */
 
 #include "befs.h"
-#include "endian.h"
 
 #define ERRBUFSIZE 1024
 

+ 0 - 1
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)

+ 0 - 1
fs/befs/inode.c

@@ -8,7 +8,6 @@
 
 #include "befs.h"
 #include "inode.h"
-#include "endian.h"
 
 /*
 	Validates the correctness of the befs inode

+ 0 - 1
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");

+ 0 - 1
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