Fix build with INVARIANT_SUPPORT enabled but not INVARIANTS.
Reported by: "Matthew D. Fuller" <fullermd@over-yonder.net>
This commit is contained in:
parent
3449b15aa2
commit
c64bc3a076
@ -704,6 +704,10 @@ _rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
|
||||
#endif
|
||||
|
||||
#ifdef INVARIANT_SUPPORT
|
||||
#ifndef INVARIANTS
|
||||
#undef _rm_assert
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Note that this does not need to use witness_assert() for read lock
|
||||
* assertions since an exact count of read locks held by this thread
|
||||
|
Loading…
Reference in New Issue
Block a user