mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Don't double-zero buffers in fault management nvlists
This is a small cleanup for a trivial problem which happened to be noticed while another issue was being investigated. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Paul Dagnelie <pcd@delphix.com> Closes #13730
This commit is contained in:
parent
9681de4657
commit
673aa7e6cf
@ -487,7 +487,7 @@ static void *
|
||||
i_fm_alloc(nv_alloc_t *nva, size_t size)
|
||||
{
|
||||
(void) nva;
|
||||
return (kmem_zalloc(size, KM_SLEEP));
|
||||
return (kmem_alloc(size, KM_SLEEP));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user