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, Sep 11, 1:40 PM
Unknown Object (File)
Sun, Sep 6, 11:23 PM
Unknown Object (File)
Thu, Sep 3, 1:41 PM
Unknown Object (File)
Thu, Sep 3, 1:41 PM
Unknown Object (File)
Thu, Sep 3, 1:41 PM
Unknown Object (File)
Sun, Aug 23, 3:17 PM
Unknown Object (File)
Thu, Aug 20, 8:11 PM
Unknown Object (File)
Aug 11 2026, 6:56 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