diff options
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r-- | drivers/md/dm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h index 8223671e4901..1db782530ce6 100644 --- a/drivers/md/dm.h +++ b/drivers/md/dm.h | |||
@@ -66,6 +66,11 @@ int dm_table_alloc_md_mempools(struct dm_table *t); | |||
66 | void dm_table_free_md_mempools(struct dm_table *t); | 66 | void dm_table_free_md_mempools(struct dm_table *t); |
67 | struct dm_md_mempools *dm_table_get_md_mempools(struct dm_table *t); | 67 | struct dm_md_mempools *dm_table_get_md_mempools(struct dm_table *t); |
68 | 68 | ||
69 | void dm_lock_md_type(struct mapped_device *md); | ||
70 | void dm_unlock_md_type(struct mapped_device *md); | ||
71 | void dm_set_md_type(struct mapped_device *md, unsigned type); | ||
72 | unsigned dm_get_md_type(struct mapped_device *md); | ||
73 | |||
69 | /* | 74 | /* |
70 | * To check the return value from dm_table_find_target(). | 75 | * To check the return value from dm_table_find_target(). |
71 | */ | 76 | */ |