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, Oct 10, 11:53 PM
Unknown Object (File)
Fri, Oct 10, 11:53 PM
Unknown Object (File)
Fri, Oct 10, 11:53 PM
Unknown Object (File)
Fri, Oct 10, 5:28 PM
Unknown Object (File)
Thu, Oct 9, 12:42 AM
Unknown Object (File)
Thu, Oct 2, 12:43 PM
Unknown Object (File)
Thu, Oct 2, 2:56 AM
Unknown Object (File)
Mon, Sep 29, 12:27 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