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)
Thu, Feb 19, 12:48 PM
Unknown Object (File)
Thu, Feb 19, 11:12 AM
Unknown Object (File)
Wed, Feb 18, 6:53 PM
Unknown Object (File)
Sat, Feb 7, 10:12 PM
Unknown Object (File)
Sat, Feb 7, 5:37 PM
Unknown Object (File)
Fri, Jan 30, 4:24 PM
Unknown Object (File)
Jan 5 2026, 6:07 AM
Unknown Object (File)
Dec 18 2025, 12:16 AM
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