ZFS: fix assertions with INVARIANTS

AFAICT, this was an oversight from
9e5787d228 (svn r364746).  That revision
inadvertently disabled assertions unconditionally.

Reviewed by:	freqlabs
MFC after:	3 days
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D28256
This commit is contained in:
Alan Somers 2021-01-20 08:55:36 -07:00
parent 924d1c9a05
commit 174a7e578a

View File

@ -282,6 +282,8 @@ SRCS+= zfs_zstd.c \
.include <bsd.kmod.mk>
CFLAGS+= -include ${SRCTOP}/sys/cddl/compat/opensolaris/sys/debug_compat.h
CWARNFLAGS+= ${OPENZFS_CWARNFLAGS}
CFLAGS.gcc+= -Wno-pointer-to-int-cast