summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid1.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-21 17:44:59 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-10-21 17:44:59 +0100
commit586e80e6ee0d137c7d79fbae183bb37bc60ee97e (patch)
tree1f3cc124ed6ad93abd4c14f9c8900333c6cba6fb /drivers/md/dm-raid1.c
parentd63a5ce3c0d25c96bdadc78792e5b48b846e899d (diff)
downloadlinux-586e80e6ee0d137c7d79fbae183bb37bc60ee97e.tar.gz
linux-586e80e6ee0d137c7d79fbae183bb37bc60ee97e.tar.bz2
linux-586e80e6ee0d137c7d79fbae183bb37bc60ee97e.zip
dm: remove dm header from targets
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>
Diffstat (limited to 'drivers/md/dm-raid1.c')
-rw-r--r--drivers/md/dm-raid1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-raid1.c b/drivers/md/dm-raid1.c
index ecfd82169cb3..f358853af5cf 100644
--- a/drivers/md/dm-raid1.c
+++ b/drivers/md/dm-raid1.c
@@ -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"