Commit 54160904 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Alasdair G Kergon
Browse files

dm: publish dm_vcalloc

Publish dm_vcalloc in include/linux/device-mapper.h because this function is
used by targets.
Signed-off-by: default avatarMikulas Patocka <>
Signed-off-by: default avatarAlasdair G Kergon <>
parent ea0ec640
......@@ -89,7 +89,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);
int dm_open_count(struct mapped_device *md);
int dm_lock_for_deletion(struct mapped_device *md);
......@@ -267,6 +267,11 @@ void dm_table_event(struct dm_table *t);
int dm_swap_table(struct mapped_device *md, struct dm_table *t);
* A wrapper around vmalloc.
void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
* Macros.
Supports Markdown
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