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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user