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:
parent
924d1c9a05
commit
174a7e578a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user