mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
FreeBSD: Remove references to DEBUG_VFS_LOCKS
This option is removed upstream in favour of plain INVARIANTS. VNASSERT is always defined so I see no reason to use it conditionally. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Mark Johnston <markj@FreeBSD.org> Closes #18136
This commit is contained in:
committed by
Tony Hutter
parent
d69f7c5e9b
commit
343cc96d7d
@@ -62,11 +62,6 @@ CFLAGS+= -DZFS_DEBUG -g
|
||||
CFLAGS += -DNDEBUG
|
||||
.endif
|
||||
|
||||
.if defined(WITH_VFS_DEBUG) && ${WITH_VFS_DEBUG} == "true"
|
||||
# kernel must also be built with this option for this to work
|
||||
CFLAGS+= -DDEBUG_VFS_LOCKS
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GCOV) && ${WITH_GCOV} == "true"
|
||||
CFLAGS+= -fprofile-arcs -ftest-coverage
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user