diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-07 16:25:22 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-04-19 20:13:26 +0300 |
commit | 7a35693adcd38664b852ad10e3742782b3e87987 (patch) | |
tree | 686928db3fc873385abbb159e8ea67ca5141c250 /include/linux/device-mapper.h | |
parent | 5208692e80a1f3c8ce2063a22b675dd5589d1d80 (diff) | |
download | linux-7a35693adcd38664b852ad10e3742782b3e87987.tar.xz |
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.h | 5 |
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. *---------------------------------------------------------------*/ |