]> git.proxmox.com Git - mirror_zfs.git/commit
Don't call sizeof on void
authorPaul Dagnelie <pcd@delphix.com>
Mon, 14 Oct 2019 02:21:51 +0000 (19:21 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Oct 2019 02:21:51 +0000 (19:21 -0700)
commit511fce6b1f939bd78687924aaa35dc83f8056ced
treec1a9036236debd0bd778327d4c6849f2512a3981
parentcdbba101f48bef68b46363a64880b51fa647ad45
Don't call sizeof on void

We get the sizeof the appropriate type, and don't cast away const.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes #9455
include/sys/range_tree.h
module/zfs/dsl_scan.c