HomeFreeBSD

freevnode(): lock the freeing vnode around destroy_vpollinfo()

Description

freevnode(): lock the freeing vnode around destroy_vpollinfo()

to satisfy locking requirements of knlist manipulations.

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 2 2021, 2:49 AM
Reviewer
markj
Differential Revision
D32761: DEBUG_VFS_LOCKS: stop excluding devfs and doomed vnode from asserts
Parents
rGeede22d66d00: ffs_snapshot: do not assert that um_devvp is locked
Branches
Unknown
Tags
Unknown