summaryrefslogtreecommitdiff
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-24 22:10:56 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-04-25 13:27:00 +0100
commit4fdfe401e9d7e30029972d568c667234c0c1d828 (patch)
treee9e8f45ceccda2e73008da8f404302b056a059b3 /include/linux/device-mapper.h
parente8488d08586e6df7fab3db7881631bb13619311b (diff)
dm table: remove unused dm_create_error_table
dm_create_error_table() was added in kernel 2.6.18 and never used... Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index a68829e274fe..ad3b787479a4 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -252,12 +252,6 @@ void dm_table_event(struct dm_table *t);
*/
int dm_swap_table(struct mapped_device *md, struct dm_table *t);
-/*
- * Prepare a table for a device that will error all I/O.
- * To make it active, call dm_suspend(), dm_swap_table() then dm_resume().
- */
-int dm_create_error_table(struct dm_table **result, struct mapped_device *md);
-
/*-----------------------------------------------------------------
* Macros.
*---------------------------------------------------------------*/