]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/device-mapper.h
dm: export struct dm_dev
[linux-2.6-omap-h63xx.git] / include / linux / device-mapper.h
index a90222e3297d807e554ca270b50f097a3a5dfbc7..178390de195ebd474e05d294f9f0db4f120577a5 100644 (file)
@@ -13,7 +13,6 @@
 
 struct dm_target;
 struct dm_table;
-struct dm_dev;
 struct mapped_device;
 struct bio_vec;
 
@@ -84,6 +83,12 @@ void dm_error(const char *message);
  */
 void dm_set_device_limits(struct dm_target *ti, struct block_device *bdev);
 
+struct dm_dev {
+       struct block_device *bdev;
+       int mode;
+       char name[16];
+};
+
 /*
  * Constructors should call these functions to ensure destination devices
  * are opened/closed correctly.