summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-21 18:44:59 +0200
committerAlasdair G Kergon <agk@redhat.com>2008-10-21 18:44:59 +0200
commit586e80e6ee0d137c7d79fbae183bb37bc60ee97e (patch)
tree1f3cc124ed6ad93abd4c14f9c8900333c6cba6fb /drivers/md/dm-snap.h
parentdm: publish array_too_big (diff)
downloadlinux-586e80e6ee0d137c7d79fbae183bb37bc60ee97e.tar.xz
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-snap.h')
-rw-r--r--drivers/md/dm-snap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap.h b/drivers/md/dm-snap.h
index 49c17bf12c21..f07315fe2362 100644
--- a/drivers/md/dm-snap.h
+++ b/drivers/md/dm-snap.h
@@ -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>