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)
Tue, Aug 11, 6:56 PM
Unknown Object (File)
Sun, Aug 9, 7:04 PM
Unknown Object (File)
Sun, Aug 9, 7:54 AM
Unknown Object (File)
Sun, Aug 9, 5:17 AM
Unknown Object (File)
Sun, Aug 9, 1:37 AM
Unknown Object (File)
Sat, Aug 8, 10:12 AM
Unknown Object (File)
Fri, Aug 7, 10:28 PM
Unknown Object (File)
Fri, Aug 7, 6:03 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