Commit c087ec3d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dm: Export dm_vcalloc()

From: Joe Thornber <thornber@redhat.com>

Export dm_vcalloc()
parent 1797a796
......@@ -149,7 +149,7 @@ static int setup_btree_index(unsigned int l, struct dm_table *t)
return 0;
}
static void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size)
void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size)
{
unsigned long size;
void *addr;
......@@ -858,6 +858,7 @@ void dm_table_resume_targets(struct dm_table *t)
}
EXPORT_SYMBOL(dm_vcalloc);
EXPORT_SYMBOL(dm_get_device);
EXPORT_SYMBOL(dm_put_device);
EXPORT_SYMBOL(dm_table_event);
......
......@@ -167,4 +167,6 @@ void dm_linear_exit(void);
int dm_stripe_init(void);
void dm_stripe_exit(void);
void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment