HomeFreeBSD

freebsd: add ifdefs around legacy ioctl support

Description

freebsd: add ifdefs around legacy ioctl support

Require that ZFS_LEGACY_SUPPORT be defined for legacy ioctl support to
be built. For now, define it in zfs_ioctl_compat.h so support is always
built. This will allow systems that need never support pre-openzfs
tools a mechanism to remove support at build time. This code should
be removed once the need for tool compatability is gone.

No functional change at this time.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Brooks Davis <brooks.davis@sri.com>
Closes #14127

Details

Provenance
brooksAuthored on Oct 27 2022, 9:45 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 7 2022, 11:55 PM
Parents
rG6c89cffc2ccc: freebsd: remove no-op vn_renamepath()
Branches
Unknown
Tags
Unknown

Event Timeline