HomeFreeBSD

stand/zfs: Limit flags further for ZFS

Description

stand/zfs: Limit flags further for ZFS

Constrain CFLAGS for ZFS: don't add anything globally. Add the includes
to only the files that need them. Add -DHAS_ZSTD_ZFS to zfs.c (which
includes zfsimpl.c which includes zfssubr.c both of which need this
defined). Also add it to efi/boot1/Makefile since zfs_module.c also
includes zfsimple.c.

Sponsored by: Netflix
Reviewed by: tsoome
Differential Revision: https://reviews.freebsd.org/D35887

Details

Provenance
impAuthored on Jul 24 2022, 9:51 PM
Reviewer
tsoome
Differential Revision
D35887: stand/zfs: Limit flags further for ZFS
Parents
rGb3f43ee0317a: stand: Use c99 structure initialization for userboot's host_fsops
Branches
Unknown
Tags
Unknown