[PATCH] include buffer_head.h in actual users instead of fs.h (2/10)

Christoph Hellwig (hch@infradead.org)
Thu, 23 May 2002 13:26:38 +0100


Declare buffer_init() extern in init/main.c like the other _init so that
it doesn't have to include buffer_head.h. Remove buffer_init() there.

--- 1.9/include/linux/buffer_head.h Sun May 19 13:49:49 2002
+++ edited/include/linux/buffer_head.h Thu May 23 14:18:31 2002
@@ -138,7 +143,6 @@
*/

void FASTCALL(mark_buffer_dirty(struct buffer_head *bh));
-void buffer_init(void);
void init_buffer(struct buffer_head *, bh_end_io_t *, void *);
void set_bh_page(struct buffer_head *bh,
struct page *page, unsigned long offset);
--- 1.45/init/main.c Tue Apr 30 00:18:31 2002
+++ edited/init/main.c Thu May 23 13:19:04 2002
@@ -68,6 +68,7 @@
extern void sbus_init(void);
extern void sysctl_init(void);
extern void signals_init(void);
+extern void buffer_init(void);

extern void radix_tree_init(void);
extern void free_initmem(void);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/