diff options
author | NeilBrown <neilb@suse.de> | 2009-03-30 23:33:13 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-03-30 23:33:13 -0400 |
commit | bff61975b3d6c18ee31457cc5b4d73042f44915f (patch) | |
tree | 3aff48088b35172e74f56ae54f0b53e76a0c2150 /drivers/md/md.c | |
parent | 92022950c6b1bb3da90b2976b20271cdfd98b8a3 (diff) |
md: move lots of #include lines out of .h files and into .c
This makes the includes more explicit, and is preparation for moving
md_k.h to drivers/md/md.h
Remove include/raid/md.h as its only remaining use was to #include
other files.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 96336b050b59..11d6e0e1045a 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -33,8 +33,9 @@ | |||
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include <linux/kthread.h> | 35 | #include <linux/kthread.h> |
36 | #include <linux/raid/md.h> | 36 | #include <linux/blkdev.h> |
37 | #include <linux/sysctl.h> | 37 | #include <linux/sysctl.h> |
38 | #include <linux/seq_file.h> | ||
38 | #include <linux/buffer_head.h> /* for invalidate_bdev */ | 39 | #include <linux/buffer_head.h> /* for invalidate_bdev */ |
39 | #include <linux/poll.h> | 40 | #include <linux/poll.h> |
40 | #include <linux/ctype.h> | 41 | #include <linux/ctype.h> |
@@ -44,6 +45,9 @@ | |||
44 | #include <linux/reboot.h> | 45 | #include <linux/reboot.h> |
45 | #include <linux/file.h> | 46 | #include <linux/file.h> |
46 | #include <linux/delay.h> | 47 | #include <linux/delay.h> |
48 | #include <linux/raid/md_k.h> | ||
49 | #include <linux/raid/md_p.h> | ||
50 | #include <linux/raid/md_u.h> | ||
47 | #include "bitmap.h" | 51 | #include "bitmap.h" |
48 | 52 | ||
49 | #define DEBUG 0 | 53 | #define DEBUG 0 |