HomeFreeBSD

unionfs: lock newly-created vnodes before calling insmntque()

Description

unionfs: lock newly-created vnodes before calling insmntque()

This fixes an insta-panic when attempting to use unionfs with
DEBUG_VFS_LOCKS. Note that unionfs still has a long way to
go before it's generally stable or usable.

Reviewed by: kib (prior version), markj
Tested by: pho
Differential Revision: https://reviews.freebsd.org/D31917

Details

Provenance
jahAuthored on Sep 12 2021, 5:43 AM
Reviewer
kib
Differential Revision
D31917: unionfs: lock newly-created vnodes before calling insmntque()
Parents
rG0321a7990b27: kqueue: Add EV_KEEPUDATA flag
Branches
Unknown
Tags
Unknown