summaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2008-10-10 13:37:12 +0100
committerAlasdair G Kergon <agk@redhat.com>2008-10-10 13:37:12 +0100
commit54160904260fa764ba6e2dc738770be30fdf9553 (patch)
tree5f286d4d4c199772b4fc2fea48dfd10c5ef0ecf9 /include/linux/device-mapper.h
parentea0ec640940c2ae3a8d71af3249fccf06a9997a3 (diff)
downloadop-kernel-dev-54160904260fa764ba6e2dc738770be30fdf9553.zip
op-kernel-dev-54160904260fa764ba6e2dc738770be30fdf9553.tar.gz
dm: publish dm_vcalloc
Publish dm_vcalloc in include/linux/device-mapper.h because this function is used by targets. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index e462c7f..08d7835 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -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.
*---------------------------------------------------------------*/
OpenPOWER on IntegriCloud