HomeFreeBSD

FreeBSD: Remove some code duplication in sysctl_os.c

Description

FreeBSD: Remove some code duplication in sysctl_os.c

Drop unnecessary redefinition's of several arcstat values.
Put missing extern declaration of arc_no_grow_shift in arc_impl.h.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10609

Details

Provenance
freqlabsAuthored on Jul 24 2020, 12:35 AM
GitHub <noreply@github.com>Committed on Jul 24 2020, 12:35 AM
Parents
rGb197457cd6e7: libzfs: const'ify path argument to zfs_path_to_zhandle
Branches
Unknown
Tags
Unknown