summaryrefslogtreecommitdiff
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorWill Drewry <wad@chromium.org>2010-08-12 04:14:03 +0100
committerAlasdair G Kergon <agk@redhat.com>2010-08-12 04:14:03 +0100
commit26803b9f06d365122fae82e7554a66ef8278e0bb (patch)
tree83f77be2b09bbaa6d97105509d54955b2eec7147 /drivers/md/dm.h
parentb1d5552838334c600b068c9c8cc18638e5a8cb47 (diff)
dm ioctl: refactor dm_table_complete
This change unifies the various checks and finalization that occurs on a table prior to use. By doing so, it allows table construction without traversing the dm-ioctl interface. Signed-off-by: Will Drewry <wad@chromium.org> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 450fbd98c48c..0d7b374c5dc2 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -59,7 +59,6 @@ void dm_table_postsuspend_targets(struct dm_table *t);
int dm_table_resume_targets(struct dm_table *t);
int dm_table_any_congested(struct dm_table *t, int bdi_bits);
int dm_table_any_busy_target(struct dm_table *t);
-int dm_table_set_type(struct dm_table *t);
unsigned dm_table_get_type(struct dm_table *t);
bool dm_table_request_based(struct dm_table *t);
int dm_table_alloc_md_mempools(struct dm_table *t);