HomeFreeBSD

mntfs: lock mntfs pseudo devfs vnode properly

Description

mntfs: lock mntfs pseudo devfs vnode properly

Require devvp locked for mntfs_freevp(), to have it locked around
vgone(). Make that true for ffs, which is the only consumer of
the interface.

Reported and tested by: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32761

Details

Provenance
kibAuthored on Nov 1 2021, 12:28 PM
Reviewer
markj
Differential Revision
D32761: DEBUG_VFS_LOCKS: stop excluding devfs and doomed vnode from asserts
Parents
rG76b05e3e3991: ffs: Remove assertions about locked um_devvp in several places
Branches
Unknown
Tags
Unknown