]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dm: move include files
authorAlasdair G Kergon <agk@redhat.com>
Thu, 24 Apr 2008 21:02:01 +0000 (22:02 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 25 Apr 2008 12:26:55 +0000 (13:26 +0100)
Publish the dm-io, dm-log and dm-kcopyd headers in include/linux.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/Makefile
drivers/md/dm-exception-store.c
drivers/md/dm-io.c
drivers/md/dm-kcopyd.c
drivers/md/dm-log.c
drivers/md/dm-raid1.c
drivers/md/dm-snap.c
include/linux/dm-dirty-log.h [moved from drivers/md/dm-log.h with 100% similarity]
include/linux/dm-io.h [moved from drivers/md/dm-io.h with 100% similarity]
include/linux/dm-kcopyd.h [moved from drivers/md/dm-kcopyd.h with 98% similarity]

index be4b069bbc58be5203881468610d1f3f6a3c2a56..7be09eeea293c307c6213bc689840f5c1ac90c4d 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 dm-mod-objs    := dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
-                  dm-ioctl.o dm-io.o kcopyd.o
+                  dm-ioctl.o dm-io.o dm-kcopyd.o
 dm-multipath-objs := dm-hw-handler.o dm-path-selector.o dm-mpath.o
 dm-snapshot-objs := dm-snap.o dm-exception-store.o
 dm-mirror-objs := dm-raid1.o
index 6933301733df1c6d2969c120bb2e17a996cf6216..41f408068a7c9c2329c61eb7e3eb47a82af6e280 100644 (file)
@@ -9,13 +9,13 @@
 
 #include "dm.h"
 #include "dm-snap.h"
-#include "dm-io.h"
-#include "kcopyd.h"
 
 #include <linux/mm.h>
 #include <linux/pagemap.h>
 #include <linux/vmalloc.h>
 #include <linux/slab.h>
+#include <linux/dm-io.h>
+#include <linux/dm-kcopyd.h>
 
 #define DM_MSG_PREFIX "snapshots"
 #define DM_CHUNK_SIZE_DEFAULT_SECTORS 32       /* 16KB */
index 978c0414cf05dada34959d9d58135553e5adbadf..ed9c86cd053e81f32b5c6551d3246461c00d5d30 100644 (file)
@@ -5,7 +5,6 @@
  * This file is released under the GPL.
  */
 
-#include "dm-io.h"
 #include "dm.h"
 
 #include <linux/bio.h>
@@ -13,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
+#include <linux/dm-io.h>
 
 struct dm_io_client {
        mempool_t *pool;
index 17345844b03eb92c5b8a86d1eabc980b8869fed7..ee9583bee04d549cad92a7a809c220d6071f89bd 100644 (file)
@@ -22,8 +22,8 @@
 #include <linux/vmalloc.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>
+#include <linux/dm-kcopyd.h>
 
-#include "kcopyd.h"
 #include "dm.h"
 
 /*-----------------------------------------------------------------
index e6b6a9d5fdd2651aeca88262a211e7aed67e3bea..67a6f31b7fc3e2d39a3dfbf6813d6b163eae6707 100644 (file)
@@ -9,9 +9,9 @@
 #include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/vmalloc.h>
+#include <linux/dm-io.h>
+#include <linux/dm-dirty-log.h>
 
-#include "dm-log.h"
-#include "dm-io.h"
 #include "dm.h"
 
 #define DM_MSG_PREFIX "dirty region log"
index 5beeced4e52263f664ae1de9c53f2a9cd5faa0ac..6692e5a84bb1b05441214a3f27424d3a59fbd2a7 100644 (file)
@@ -7,9 +7,6 @@
 #include "dm.h"
 #include "dm-bio-list.h"
 #include "dm-bio-record.h"
-#include "dm-io.h"
-#include "dm-log.h"
-#include "kcopyd.h"
 
 #include <linux/ctype.h>
 #include <linux/init.h>
@@ -22,6 +19,9 @@
 #include <linux/workqueue.h>
 #include <linux/log2.h>
 #include <linux/hardirq.h>
+#include <linux/dm-io.h>
+#include <linux/dm-dirty-log.h>
+#include <linux/dm-kcopyd.h>
 
 #define DM_MSG_PREFIX "raid1"
 #define DM_IO_PAGES 64
index e1dcca99392ef0227dcc54698e9ea4093617a14d..1ba8a47d61b116646c6ac8ef533cd5b8f64767a7 100644 (file)
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/log2.h>
+#include <linux/dm-kcopyd.h>
 
 #include "dm-snap.h"
 #include "dm-bio-list.h"
-#include "kcopyd.h"
 
 #define DM_MSG_PREFIX "snapshots"
 
similarity index 100%
rename from drivers/md/dm-io.h
rename to include/linux/dm-io.h
similarity index 98%
rename from drivers/md/dm-kcopyd.h
rename to include/linux/dm-kcopyd.h
index d3057846b0b089d3a614f22f5c2caae62656f320..5db21631169567af72279f3d2fc65bec48c511ea 100644 (file)
@@ -14,7 +14,7 @@
 
 #ifdef __KERNEL__
 
-#include "dm-io.h"
+#include <linux/dm-io.h>
 
 /* FIXME: make this configurable */
 #define DM_KCOPYD_MAX_REGIONS 8