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)
Wed, Mar 25, 7:20 AM
Unknown Object (File)
Fri, Mar 13, 2:11 PM
Unknown Object (File)
Fri, Mar 13, 8:56 AM
Unknown Object (File)
Fri, Mar 6, 1:51 PM
Unknown Object (File)
Mon, Mar 2, 8:04 PM
Unknown Object (File)
Sat, Feb 28, 5:59 AM
Unknown Object (File)
Thu, Feb 26, 2:44 AM
Unknown Object (File)
Wed, Feb 25, 8:29 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 65945
Build 62828: arc lint + arc unit