aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 17ffa8d671a7..79e800051a10 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -89,7 +89,8 @@ int dm_suspended(struct mapped_device *md);
89 * Functions for manipulating a table. Tables are also reference 89 * Functions for manipulating a table. Tables are also reference
90 * counted. 90 * counted.
91 *---------------------------------------------------------------*/ 91 *---------------------------------------------------------------*/
92int dm_table_create(struct dm_table **result, int mode, unsigned num_targets); 92int dm_table_create(struct dm_table **result, int mode,
93 unsigned num_targets, struct mapped_device *md);
93 94
94void dm_table_get(struct dm_table *t); 95void dm_table_get(struct dm_table *t);
95void dm_table_put(struct dm_table *t); 96void dm_table_put(struct dm_table *t);
@@ -107,6 +108,7 @@ void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q);
107unsigned int dm_table_get_num_targets(struct dm_table *t); 108unsigned int dm_table_get_num_targets(struct dm_table *t);
108struct list_head *dm_table_get_devices(struct dm_table *t); 109struct list_head *dm_table_get_devices(struct dm_table *t);
109int dm_table_get_mode(struct dm_table *t); 110int dm_table_get_mode(struct dm_table *t);
111struct mapped_device *dm_table_get_md(struct dm_table *t);
110void dm_table_presuspend_targets(struct dm_table *t); 112void dm_table_presuspend_targets(struct dm_table *t);
111void dm_table_postsuspend_targets(struct dm_table *t); 113void dm_table_postsuspend_targets(struct dm_table *t);
112void dm_table_resume_targets(struct dm_table *t); 114void dm_table_resume_targets(struct dm_table *t);