Stop hiding a few assertions behind the opt-in LOCKF_DIAGNOSTIC option.
authoranton <anton@openbsd.org>
Thu, 2 Jun 2022 05:32:28 +0000 (05:32 +0000)
committeranton <anton@openbsd.org>
Thu, 2 Jun 2022 05:32:28 +0000 (05:32 +0000)
commitedfe0eef1a7ebc084cfc406cc792e4dfa5d2c780
tree0f9088e35ac2b6e1247e1a67d2937be880fdea3e
parent6946cf891a92b34b23f4511614fb14226de609fd
Stop hiding a few assertions behind the opt-in LOCKF_DIAGNOSTIC option.
This code has already been exercised quite extensively by syzkaller and
got decent test coverage.
sys/kern/vfs_lockf.c