diff options
author | Mike Snitzer <snitzer@redhat.com> | 2016-05-12 20:28:10 (GMT) |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2016-06-10 19:15:44 (GMT) |
commit | 4cc96131afce3eaae7c13dff41c6ba771cf10e96 (patch) | |
tree | 1015e8bd091d2c108fb3d100cfd275c25c89afb3 /drivers/md/dm-sysfs.c | |
parent | 1a89694f7899d39aa58cc6f061e97a17089ac025 (diff) | |
download | linux-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-sysfs.c b/drivers/md/dm-sysfs.c index 7e818f5..c209b8a 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; |