summaryrefslogtreecommitdiff
path: root/drivers/md/dm-sysfs.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-05-12 23:28:10 +0300
committerMike Snitzer <snitzer@redhat.com>2016-06-10 22:15:44 +0300
commit4cc96131afce3eaae7c13dff41c6ba771cf10e96 (patch)
tree1015e8bd091d2c108fb3d100cfd275c25c89afb3 /drivers/md/dm-sysfs.c
parent1a89694f7899d39aa58cc6f061e97a17089ac025 (diff)
downloadlinux-4cc96131afce3eaae7c13dff41c6ba771cf10e96.tar.xz
dm: move request-based code out to dm-rq.[hc]
Add some seperation between bio-based and request-based DM core code. 'struct mapped_device' and other DM core only structures and functions have been moved to dm-core.h and all relevant DM core .c files have been updated to include dm-core.h rather than dm.h DM targets should _never_ include dm-core.h! [block core merge conflict resolution from Stephen Rothwell] Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/md/dm-sysfs.c')
-rw-r--r--drivers/md/dm-sysfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-sysfs.c b/drivers/md/dm-sysfs.c
index 7e818f5f1dc4..c209b8a19b84 100644
--- a/drivers/md/dm-sysfs.c
+++ b/drivers/md/dm-sysfs.c
@@ -6,7 +6,8 @@
#include <linux/sysfs.h>
#include <linux/dm-ioctl.h>
-#include "dm.h"
+#include "dm-core.h"
+#include "dm-rq.h"
struct dm_sysfs_attr {
struct attribute attr;