Skip to contentSkip to conversation

include buffer_head.h in actual users instead of fs.h (7/10)

PATCH New Christoph Hellwig 1 participant 1 message May 23, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include buffer_head.h in actual users instead of fs.h (7/10)

Make the 5 headers in include/linux that need it include buffer_head.h directly.

include/linux/amigaffs.h +1 -1
@@ -2,7 +2,7 @@
 #define AMIGAFFS_H
 
 #include <linux/types.h>
-
+#include <linux/buffer_head.h>
 #include <asm/byteorder.h>
 
 /* AmigaOS allows file names with up to 30 characters length.
include/linux/hfs_sysdep.h +1 -0
@@ -21,6 +21,7 @@
 #include <linux/types.h>
 #include <linux/fs.h>
 #include <linux/sched.h>
+#include <linux/buffer_head.h>
 
 #include <asm/byteorder.h>
 #include <asm/unaligned.h>
include/linux/jbd.h +1 -0
@@ -25,6 +25,7 @@
 #define jfs_debug jbd_debug
 #else
 
+#include <linux/buffer_head.h>
 #include <linux/journal-head.h>
 #include <linux/stddef.h>
 #include <asm/semaphore.h>
include/linux/msdos_fs.h +1 -0
@@ -4,6 +4,7 @@
 /*
  * The MS-DOS filesystem constants/structures
  */
+#include <linux/buffer_head.h>
 #include <asm/byteorder.h>
 
 #define SECTOR_SIZE	512		/* sector size (bytes) */
include/linux/reiserfs_fs.h +1 -0
@@ -20,6 +20,7 @@
 #include <asm/unaligned.h>
 #include <linux/bitops.h>
 #include <linux/proc_fs.h>
+#include <linux/buffer_head.h>
 #include <linux/reiserfs_fs_i.h>
 #include <linux/reiserfs_fs_sb.h>
 #endif