summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-03-31 14:33:13 +1100
committerNeilBrown <neilb@suse.de>2009-03-31 14:33:13 +1100
commit43b2e5d86d8bdd77386226db0bc961529492c043 (patch)
tree601a885b1410324678cf319eee77cc54a02f2cf3
parentbff61975b3d6c18ee31457cc5b4d73042f44915f (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.c2
-rw-r--r--drivers/md/faulty.c2
-rw-r--r--drivers/md/linear.c2
-rw-r--r--drivers/md/md.c2
-rw-r--r--drivers/md/md.h (renamed from include/linux/raid/md_k.h)0
-rw-r--r--drivers/md/multipath.c2
-rw-r--r--drivers/md/raid0.c2
-rw-r--r--drivers/md/raid1.c2
-rw-r--r--drivers/md/raid10.c2
-rw-r--r--drivers/md/raid5.c2
10 files changed, 9 insertions, 9 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index 1df012e9d73..623292a5473 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -27,7 +27,7 @@
#include <linux/file.h>
#include <linux/mount.h>
#include <linux/buffer_head.h>
-#include <linux/raid/md_k.h>
+#include "md.h"
#include "bitmap.h"
/* debug macros */
diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c
index cc5d2cf08df..7b66b9fca29 100644
--- a/drivers/md/faulty.c
+++ b/drivers/md/faulty.c
@@ -64,7 +64,7 @@
#define MaxFault 50
#include <linux/blkdev.h>
#include <linux/raid/md_u.h>
-#include <linux/raid/md_k.h>
+#include "md.h"
#include <linux/seq_file.h>
diff --git a/drivers/md/linear.c b/drivers/md/linear.c
index c43c3b60ef0..f2488343ed4 100644
--- a/drivers/md/linear.c
+++ b/drivers/md/linear.c
@@ -18,8 +18,8 @@
#include <linux/blkdev.h>
#include <linux/raid/md_u.h>
-#include <linux/raid/md_k.h>
#include <linux/seq_file.h>
+#include "md.h"
#include "linear.h"
/*
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 11d6e0e1045..aad0ac54bf9 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -45,9 +45,9 @@
#include <linux/reboot.h>
#include <linux/file.h>
#include <linux/delay.h>
-#include <linux/raid/md_k.h>
#include <linux/raid/md_p.h>
#include <linux/raid/md_u.h>
+#include "md.h"
#include "bitmap.h"
#define DEBUG 0
diff --git a/include/linux/raid/md_k.h b/drivers/md/md.h
index e78b3c1d55f..e78b3c1d55f 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 148b3cd058b..0ed1005afb5 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -21,8 +21,8 @@
#include <linux/blkdev.h>
#include <linux/raid/md_u.h>
-#include <linux/raid/md_k.h>
#include <linux/seq_file.h>
+#include "md.h"
#include "multipath.h"
#define MAX_WORK_PER_DISK 128
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c
index 64e4c77a156..3d06df86da8 100644
--- a/drivers/md/raid0.c
+++ b/drivers/md/raid0.c
@@ -19,8 +19,8 @@
*/
#include <linux/blkdev.h>
-#include <linux/raid/md_k.h>
#include <linux/seq_file.h>
+#include "md.h"
#include "raid0.h"
static void raid0_unplug(struct request_queue *q)
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index 253b09c86ec..051ecfa6151 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -33,8 +33,8 @@
#include <linux/delay.h>
#include <linux/blkdev.h>
-#include <linux/raid/md_k.h>
#include <linux/seq_file.h>
+#include "md.h"
#include "dm-bio-list.h"
#include "raid1.h"
#include "bitmap.h"
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 186e1b199d4..fea61e3dcd9 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -20,8 +20,8 @@
#include <linux/delay.h>
#include <linux/blkdev.h>
-#include <linux/raid/md_k.h>
#include <linux/seq_file.h>
+#include "md.h"
#include "dm-bio-list.h"
#include "raid10.h"
#include "bitmap.h"
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 816157e7d8e..849478e9afd 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -44,10 +44,10 @@
*/
#include <linux/blkdev.h>
-#include <linux/raid/md_k.h>
#include <linux/kthread.h>
#include <linux/async_tx.h>
#include <linux/seq_file.h>
+#include "md.h"
#include "raid5.h"
#include "raid6.h"
#include "bitmap.h"