```
commit 3f7d2a970f31232006ccd73a054b52b4149b316c (HEAD -> vlock2)
Author: Mateusz Guzik <mjg@FreeBSD.org>
Date: Sun Oct 5 17:03:54 2025 +0000
vfs offset: fix assertion failure in face of racing ffofset and setfl locking
Both use the same 16 bit var to store their locked and waiters bits,
then this in file_v_unlock:
state = atomic_load_16(flagsp);
if ((state & lock_wait_bit) == 0 &&
atomic_cmpset_rel_16(flagsp, state, state & ~lock_bit))
return;
can fail if for example foffset is being unlocked while setfl is getting
locked.
Afterwards the code assumes there are blocked waiters on foffset.
commit d87d378eae3bebd167dd9bb71450a9e44b2717a1
Author: Mateusz Guzik <mjg@FreeBSD.org>
Date: Sun Oct 5 17:02:01 2025 +0000
vfs foffset: drop weird commentary about offset protection
It is readily apparent the FOFFSET_LOCKED flag protects it because the
read followed its use.
It also does not matter who said it either.
```