summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-03-28 11:31:02 -0700
committerMike Snitzer <snitzer@redhat.com>2018-01-17 09:16:06 -0500
commitf6e7baadd96bd746d3fb584959d3f152189d05e1 (patch)
treee5c0b37f6aa06c135f3901265639ed9d86a61104 /drivers/md/dm.h
parent67ac901c553bab4bcc05ed1253829bf462c26b1f (diff)
downloadlinux-stable-f6e7baadd96bd746d3fb584959d3f152189d05e1.tar.gz
linux-stable-f6e7baadd96bd746d3fb584959d3f152189d05e1.tar.bz2
linux-stable-f6e7baadd96bd746d3fb584959d3f152189d05e1.zip
dm: move dm_table_destroy() to same header as dm_table_create()
If anyone is going to use dm_table_create(), they probably should be able to use dm_table_destroy() too. Move the dm_table_destroy() definition outside the private header, near dm_table_create() Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Mike Snitzer <snitzer@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 7c66c316add3..114a81b27c37 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -49,7 +49,6 @@ struct dm_md_mempools;
/*-----------------------------------------------------------------
* Internal table functions.
*---------------------------------------------------------------*/
-void dm_table_destroy(struct dm_table *t);
void dm_table_event_callback(struct dm_table *t,
void (*fn)(void *), void *context);
struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index);