HomeFreeBSD

libprocstat: Drop zfs_defs.c hack, including its _KERNEL define

Description

libprocstat: Drop zfs_defs.c hack, including its _KERNEL define

Now that we have a _WANT_ZNODE we can use that instead of defining
_KERNEL, and we're able to move the code back into zfs.c using a real
znode_t pointer.

Whilst here, tidy the includes.

Reviewed by: imp, kib, markj
Differential Revision: https://reviews.freebsd.org/D50721

Details

Provenance
jrtc27Authored on Jun 16 2025, 9:34 PM
Reviewer
imp
Differential Revision
D50721: libprocstat: Drop zfs_defs.c hack, including its _KERNEL define
Parents
rGb4f9be7fb371: openzfs: Add a _WANT_ZNODE that defines struct znode / znode_t for userspace
Branches
Unknown
Tags
Unknown