Page MenuHomeFreeBSD

p9fs: Set vnode state in p9fs_vget_common()
ClosedPublic

Authored by markj on Aug 4 2025, 3:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 7, 3:44 AM
Unknown Object (File)
Wed, Nov 5, 11:12 PM
Unknown Object (File)
Oct 27 2025, 11:10 PM
Unknown Object (File)
Oct 26 2025, 3:38 PM
Unknown Object (File)
Oct 20 2025, 12:26 AM
Unknown Object (File)
Oct 10 2025, 11:53 PM
Unknown Object (File)
Oct 10 2025, 11:53 PM
Unknown Object (File)
Oct 10 2025, 11:53 PM
Subscribers

Details

Summary

Once a new vnode is visible from the mountpoint hash, we should set its
state from VSTATE_UNINITIALIZED to VSTATE_CONSTRUCTED. I do not think
this affects correctness at all, but the bug trips a check in
vop_unlock_debugpost(), previously hidden under options DEBUG_VFS_LOCKS.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable