Commit 735d04ee authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] 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.
parent 465c17d3
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#define AMIGAFFS_H #define AMIGAFFS_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/buffer_head.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
/* AmigaOS allows file names with up to 30 characters length. /* AmigaOS allows file names with up to 30 characters length.
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/buffer_head.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#define jfs_debug jbd_debug #define jfs_debug jbd_debug
#else #else
#include <linux/buffer_head.h>
#include <linux/journal-head.h> #include <linux/journal-head.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <asm/semaphore.h> #include <asm/semaphore.h>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
/* /*
* The MS-DOS filesystem constants/structures * The MS-DOS filesystem constants/structures
*/ */
#include <linux/buffer_head.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#define SECTOR_SIZE 512 /* sector size (bytes) */ #define SECTOR_SIZE 512 /* sector size (bytes) */
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/buffer_head.h>
#include <linux/reiserfs_fs_i.h> #include <linux/reiserfs_fs_i.h>
#include <linux/reiserfs_fs_sb.h> #include <linux/reiserfs_fs_sb.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment