]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
dm: remove dm header from targets
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 21 Oct 2008 16:44:59 +0000 (17:44 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 21 Oct 2008 16:44:59 +0000 (17:44 +0100)
Change #include "dm.h" to #include <linux/device-mapper.h> in all targets.
Targets should not need direct access to internal DM structures.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
14 files changed:
drivers/md/dm-crypt.c
drivers/md/dm-delay.c
drivers/md/dm-exception-store.c
drivers/md/dm-io.c
drivers/md/dm-kcopyd.c
drivers/md/dm-linear.c
drivers/md/dm-log.c
drivers/md/dm-mpath.c
drivers/md/dm-path-selector.c
drivers/md/dm-raid1.c
drivers/md/dm-round-robin.c
drivers/md/dm-snap.h
drivers/md/dm-stripe.c
drivers/md/dm-zero.c

index 682ef9e6acd3344d5bf8a19f4550de90331f37d3..8939cba6e748cc0a56cb13fc2b9e69ceea8344d1 100644 (file)
@@ -23,7 +23,7 @@
 #include <asm/page.h>
 #include <asm/unaligned.h>
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 
 #define DM_MSG_PREFIX "crypt"
 #define MESG_STR(x) x, sizeof(x)
index bdd37f881c42ab757cb381514db10d4d232b854e..848b381f11732c626161ecc8f8c06e5d82927a07 100644 (file)
@@ -13,7 +13,8 @@
 #include <linux/bio.h>
 #include <linux/slab.h>
 
-#include "dm.h"
+#include <linux/device-mapper.h>
+
 #include "dm-bio-list.h"
 
 #define DM_MSG_PREFIX "delay"
index 6179bf70f98a7837a1828638c9f5bac310ae2ad6..01590f3e00093ffd25e9fe0aa6e70d1472e607f4 100644 (file)
@@ -7,7 +7,6 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
 #include "dm-snap.h"
 
 #include <linux/mm.h>
index 4789c42d9a3ac503d53ba6ea77fe7fadbee21682..2fd6d4450637943963d88c948080cf4f0ed73a92 100644 (file)
@@ -5,7 +5,7 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 
 #include <linux/bio.h>
 #include <linux/mempool.h>
index 8f153530d6dfac3377c3159867b6242e4b614a3f..3073618269ea3030e468541ea2af6f05dd2aac65 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/vmalloc.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>
+#include <linux/device-mapper.h>
 #include <linux/dm-kcopyd.h>
 
 #include "dm.h"
index 6449bcdf84ca47465673223fa3a27f88c44684ce..1b29e9136758523edcc8925018fda84056d8be4b 100644 (file)
@@ -5,12 +5,12 @@
  */
 
 #include "dm.h"
-
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/blkdev.h>
 #include <linux/bio.h>
 #include <linux/slab.h>
+#include <linux/device-mapper.h>
 
 #define DM_MSG_PREFIX "linear"
 
index 5b48478c79f53037474579edf1930b4d103b160c..a8c0fc79ca78c18d52631bb3e27176ee68c4712f 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/dm-io.h>
 #include <linux/dm-dirty-log.h>
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 
 #define DM_MSG_PREFIX "dirty region log"
 
index 9bf3460c5540b9fdbefbacaed15788f7a6868fb0..abf6e8cfaedbaba1a5535da6c8157748200bf0f9 100644 (file)
@@ -5,7 +5,8 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
+
 #include "dm-path-selector.h"
 #include "dm-bio-list.h"
 #include "dm-bio-record.h"
index ca1bb636a3e4ba808ae63d88dfbb62bc4ee28a04..96ea226155b10e3dbb560b3faa8c2211ec11f41f 100644 (file)
@@ -9,7 +9,8 @@
  * Path selector registration.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
+
 #include "dm-path-selector.h"
 
 #include <linux/slab.h>
index ecfd82169cb36c76f4905c1938e24f9553e5ccac..f358853af5cf38f3f2786e3fd8428f454e281f21 100644 (file)
@@ -4,7 +4,8 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
+
 #include "dm-bio-list.h"
 #include "dm-bio-record.h"
 
index 391dfa2ad4347a690d8bc4636515ebfff39a5f08..cdfbf65b28cb0fb5d4af95d9e6718d80d69be760 100644 (file)
@@ -9,7 +9,8 @@
  * Round-robin path selector.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
+
 #include "dm-path-selector.h"
 
 #include <linux/slab.h>
index 49c17bf12c211c760a1cad533b4e231e583c78bc..f07315fe23621e706bae67ab240d2bb8d89c42d3 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef DM_SNAPSHOT_H
 #define DM_SNAPSHOT_H
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 #include "dm-bio-list.h"
 #include <linux/blkdev.h>
 #include <linux/workqueue.h>
index 287e245847303ef4064b1e4e75a7a31ef5695636..a2d068dbe9e2669dc25290a09e8918b4b5c2f28f 100644 (file)
@@ -4,7 +4,7 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 
 #include <linux/module.h>
 #include <linux/init.h>
index bdec206c404bcbbe70db8ce82546072dd8ea9ee0..cdbf126ec10651f6632bfed0401598e3ced361d5 100644 (file)
@@ -4,7 +4,7 @@
  * This file is released under the GPL.
  */
 
-#include "dm.h"
+#include <linux/device-mapper.h>
 
 #include <linux/module.h>
 #include <linux/init.h>