]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dm: replace dm_vcalloc()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 7 Apr 2021 13:25:22 +0000 (14:25 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 19 Apr 2021 17:13:26 +0000 (13:13 -0400)
commit7a35693adcd38664b852ad10e3742782b3e87987
tree686928db3fc873385abbb159e8ea67ca5141c250
parent5208692e80a1f3c8ce2063a22b675dd5589d1d80
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>
drivers/md/dm-snap-persistent.c
drivers/md/dm-snap.c
drivers/md/dm-table.c
include/linux/device-mapper.h