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 | 43b2e5d86d8bdd77386226db0bc961529492c043 (patch) | |
tree | 601a885b1410324678cf319eee77cc54a02f2cf3 | |
parent | bff61975b3d6c18ee31457cc5b4d73042f44915f (diff) |
md: move md_k.h from include/linux/raid/ to drivers/md/
It really is nicer to keep related code together..
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | drivers/md/bitmap.c | 2 | ||||
-rw-r--r-- | drivers/md/faulty.c | 2 | ||||
-rw-r--r-- | drivers/md/linear.c | 2 | ||||
-rw-r--r-- | drivers/md/md.c | 2 | ||||
-rw-r--r-- | drivers/md/md.h (renamed from include/linux/raid/md_k.h) | 0 | ||||
-rw-r--r-- | drivers/md/multipath.c | 2 | ||||
-rw-r--r-- | drivers/md/raid0.c | 2 | ||||
-rw-r--r-- | drivers/md/raid1.c | 2 | ||||
-rw-r--r-- | drivers/md/raid10.c | 2 | ||||
-rw-r--r-- | drivers/md/raid5.c | 2 |
10 files changed, 9 insertions, 9 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 1df012e9d73d..623292a5473e 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/file.h> | 27 | #include <linux/file.h> |
28 | #include <linux/mount.h> | 28 | #include <linux/mount.h> |
29 | #include <linux/buffer_head.h> | 29 | #include <linux/buffer_head.h> |
30 | #include <linux/raid/md_k.h> | 30 | #include "md.h" |
31 | #include "bitmap.h" | 31 | #include "bitmap.h" |
32 | 32 | ||
33 | /* debug macros */ | 33 | /* debug macros */ |
diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c index cc5d2cf08dfc..7b66b9fca29d 100644 --- a/drivers/md/faulty.c +++ b/drivers/md/faulty.c | |||
@@ -64,7 +64,7 @@ | |||
64 | #define MaxFault 50 | 64 | #define MaxFault 50 |
65 | #include <linux/blkdev.h> | 65 | #include <linux/blkdev.h> |
66 | #include <linux/raid/md_u.h> | 66 | #include <linux/raid/md_u.h> |
67 | #include <linux/raid/md_k.h> | 67 | #include "md.h" |
68 | #include <linux/seq_file.h> | 68 | #include <linux/seq_file.h> |
69 | 69 | ||
70 | 70 | ||
diff --git a/drivers/md/linear.c b/drivers/md/linear.c index c43c3b60ef09..f2488343ed4a 100644 --- a/drivers/md/linear.c +++ b/drivers/md/linear.c | |||
@@ -18,8 +18,8 @@ | |||
18 | 18 | ||
19 | #include <linux/blkdev.h> | 19 | #include <linux/blkdev.h> |
20 | #include <linux/raid/md_u.h> | 20 | #include <linux/raid/md_u.h> |
21 | #include <linux/raid/md_k.h> | ||
22 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
22 | #include "md.h" | ||
23 | #include "linear.h" | 23 | #include "linear.h" |
24 | 24 | ||
25 | /* | 25 | /* |
diff --git a/drivers/md/md.c b/drivers/md/md.c index 11d6e0e1045a..aad0ac54bf90 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -45,9 +45,9 @@ | |||
45 | #include <linux/reboot.h> | 45 | #include <linux/reboot.h> |
46 | #include <linux/file.h> | 46 | #include <linux/file.h> |
47 | #include <linux/delay.h> | 47 | #include <linux/delay.h> |
48 | #include <linux/raid/md_k.h> | ||
49 | #include <linux/raid/md_p.h> | 48 | #include <linux/raid/md_p.h> |
50 | #include <linux/raid/md_u.h> | 49 | #include <linux/raid/md_u.h> |
50 | #include "md.h" | ||
51 | #include "bitmap.h" | 51 | #include "bitmap.h" |
52 | 52 | ||
53 | #define DEBUG 0 | 53 | #define DEBUG 0 |
diff --git a/include/linux/raid/md_k.h b/drivers/md/md.h index e78b3c1d55fd..e78b3c1d55fd 100644 --- a/include/linux/raid/md_k.h +++ b/drivers/md/md.h | |||
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 148b3cd058bf..0ed1005afb58 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -21,8 +21,8 @@ | |||
21 | 21 | ||
22 | #include <linux/blkdev.h> | 22 | #include <linux/blkdev.h> |
23 | #include <linux/raid/md_u.h> | 23 | #include <linux/raid/md_u.h> |
24 | #include <linux/raid/md_k.h> | ||
25 | #include <linux/seq_file.h> | 24 | #include <linux/seq_file.h> |
25 | #include "md.h" | ||
26 | #include "multipath.h" | 26 | #include "multipath.h" |
27 | 27 | ||
28 | #define MAX_WORK_PER_DISK 128 | 28 | #define MAX_WORK_PER_DISK 128 |
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index 64e4c77a1568..3d06df86da87 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c | |||
@@ -19,8 +19,8 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/blkdev.h> | 21 | #include <linux/blkdev.h> |
22 | #include <linux/raid/md_k.h> | ||
23 | #include <linux/seq_file.h> | 22 | #include <linux/seq_file.h> |
23 | #include "md.h" | ||
24 | #include "raid0.h" | 24 | #include "raid0.h" |
25 | 25 | ||
26 | static void raid0_unplug(struct request_queue *q) | 26 | static void raid0_unplug(struct request_queue *q) |
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 253b09c86eca..051ecfa61514 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -33,8 +33,8 @@ | |||
33 | 33 | ||
34 | #include <linux/delay.h> | 34 | #include <linux/delay.h> |
35 | #include <linux/blkdev.h> | 35 | #include <linux/blkdev.h> |
36 | #include <linux/raid/md_k.h> | ||
37 | #include <linux/seq_file.h> | 36 | #include <linux/seq_file.h> |
37 | #include "md.h" | ||
38 | #include "dm-bio-list.h" | 38 | #include "dm-bio-list.h" |
39 | #include "raid1.h" | 39 | #include "raid1.h" |
40 | #include "bitmap.h" | 40 | #include "bitmap.h" |
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 186e1b199d46..fea61e3dcd95 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -20,8 +20,8 @@ | |||
20 | 20 | ||
21 | #include <linux/delay.h> | 21 | #include <linux/delay.h> |
22 | #include <linux/blkdev.h> | 22 | #include <linux/blkdev.h> |
23 | #include <linux/raid/md_k.h> | ||
24 | #include <linux/seq_file.h> | 23 | #include <linux/seq_file.h> |
24 | #include "md.h" | ||
25 | #include "dm-bio-list.h" | 25 | #include "dm-bio-list.h" |
26 | #include "raid10.h" | 26 | #include "raid10.h" |
27 | #include "bitmap.h" | 27 | #include "bitmap.h" |
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 816157e7d8e0..849478e9afdc 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -44,10 +44,10 @@ | |||
44 | */ | 44 | */ |
45 | 45 | ||
46 | #include <linux/blkdev.h> | 46 | #include <linux/blkdev.h> |
47 | #include <linux/raid/md_k.h> | ||
48 | #include <linux/kthread.h> | 47 | #include <linux/kthread.h> |
49 | #include <linux/async_tx.h> | 48 | #include <linux/async_tx.h> |
50 | #include <linux/seq_file.h> | 49 | #include <linux/seq_file.h> |
50 | #include "md.h" | ||
51 | #include "raid5.h" | 51 | #include "raid5.h" |
52 | #include "raid6.h" | 52 | #include "raid6.h" |
53 | #include "bitmap.h" | 53 | #include "bitmap.h" |