]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/md/dm.h
dm ioctl: make bio or request based device type immutable
[mv-sheeva.git] / drivers / md / dm.h
index 8223671e4901b3e1b8fe3fc1bac93e49b8d7d74b..1db782530ce67beeedb791f2a2fb8a4431c6dead 100644 (file)
@@ -66,6 +66,11 @@ int dm_table_alloc_md_mempools(struct dm_table *t);
 void dm_table_free_md_mempools(struct dm_table *t);
 struct dm_md_mempools *dm_table_get_md_mempools(struct dm_table *t);
 
+void dm_lock_md_type(struct mapped_device *md);
+void dm_unlock_md_type(struct mapped_device *md);
+void dm_set_md_type(struct mapped_device *md, unsigned type);
+unsigned dm_get_md_type(struct mapped_device *md);
+
 /*
  * To check the return value from dm_table_find_target().
  */