summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-10 13:37:09 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-10-10 13:37:09 +0100
commit82b1519b345d61dcfae526e3fcb08128f39f9bcc (patch)
tree240bc646da63557ed7fa81fa3c17d05b95853f45 /drivers/md/dm.h
parent933f01d43326fb12a978a8e0bb062c28a2de4d5a (diff)
downloadop-kernel-dev-82b1519b345d61dcfae526e3fcb08128f39f9bcc.zip
op-kernel-dev-82b1519b345d61dcfae526e3fcb08128f39f9bcc.tar.gz
dm: export struct dm_dev
Split struct dm_dev in two and publish the part that other targets need in include/linux/device-mapper.h. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 1e59a0b..65f2f56 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -25,13 +25,10 @@
/*
* List of devices that a metadevice uses and should open/close.
*/
-struct dm_dev {
+struct dm_dev_internal {
struct list_head list;
-
atomic_t count;
- int mode;
- struct block_device *bdev;
- char name[16];
+ struct dm_dev dm_dev;
};
struct dm_table;
OpenPOWER on IntegriCloud