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)
Mon, Jan 5, 6:07 AM
Unknown Object (File)
Dec 18 2025, 12:16 AM
Unknown Object (File)
Dec 15 2025, 11:00 PM
Unknown Object (File)
Dec 13 2025, 3:04 AM
Unknown Object (File)
Dec 13 2025, 3:04 AM
Unknown Object (File)
Dec 10 2025, 9:10 PM
Unknown Object (File)
Dec 5 2025, 11:25 AM
Unknown Object (File)
Dec 2 2025, 10:24 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