Page MenuHomeFreeBSD

fusefs: only check vnode locks with DEBUG_VFS_LOCKS

Authored by asomers on Jan 3 2021, 3:34 AM.

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

The other nice thing about this routine (ok, conditional on debug.vfs_badlock_vnode=1, but it is the default) — or VNASSERT(), VPASS() — is that they'll print out details of the vp. MPASS can't do that.

This revision is now accepted and ready to land.Jan 3 2021, 12:48 PM