summaryrefslogtreecommitdiffstats
path: root/include/linux/device-mapper.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-04-07 14:25:22 +0100
committerMike Snitzer <snitzer@redhat.com>2021-04-19 13:13:26 -0400
commit7a35693adcd38664b852ad10e3742782b3e87987 (patch)
tree686928db3fc873385abbb159e8ea67ca5141c250 /include/linux/device-mapper.h
parent5208692e80a1f3c8ce2063a22b675dd5589d1d80 (diff)
downloadlinux-7a35693adcd38664b852ad10e3742782b3e87987.tar.gz
linux-7a35693adcd38664b852ad10e3742782b3e87987.tar.bz2
linux-7a35693adcd38664b852ad10e3742782b3e87987.zip
dm: replace dm_vcalloc()
Use kvcalloc or kvmalloc_array instead (depending whether zeroing is useful). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'include/linux/device-mapper.h')
-rw-r--r--include/linux/device-mapper.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h
index 5c641f930caf..ff700fb6ce1d 100644
--- a/include/linux/device-mapper.h
+++ b/include/linux/device-mapper.h
@@ -574,11 +574,6 @@ struct dm_table *dm_swap_table(struct mapped_device *md,
*/
void dm_destroy_keyslot_manager(struct blk_keyslot_manager *ksm);
-/*
- * A wrapper around vmalloc.
- */
-void *dm_vcalloc(unsigned long nmemb, unsigned long elem_size);
-
/*-----------------------------------------------------------------
* Macros.
*---------------------------------------------------------------*/