HomeFreeBSD

lockmgr: fix upgrade

Description

lockmgr: fix upgrade

TRYUPGRADE requests kept failing when they should not have due to wrong
macro used to count readers.

Fixes: f6b091fbbd77cbb0 ("lockmgr: rewrite upgrade to stop always dropping the lock")
Noted by: asomers
Differential Revision: https://reviews.freebsd.org/D27947

Details

Provenance
mjgAuthored on Jan 7 2021, 6:45 AM
Differential Revision
D27947: Fix LK_TRYUPGRADE
Parents
rGf635cef2a420: arm64 busdma: Fix loading of small bounced buffers.
Branches
Unknown
Tags
Unknown