HomeFreeBSD

ddb show lockedvnods: avoid trap for ufs vnode under construction

Description

ddb show lockedvnods: avoid trap for ufs vnode under construction

ddb show lockedvnods might find a ufs vnode after it is inserted into
the mount queue in ffs_vgetf but before the dinode is allocated. Avoid
trapping by testing for the dinode pointer.

Reviewed by: markj
Discussed with: mjg
Sponsored by: Dell Inc.
Differential Revision: https://reviews.freebsd.org/D52795

Details

Provenance
rlibbyAuthored on Oct 1 2025, 6:25 PM
Reviewer
markj
Differential Revision
D52795: ddb show lockedvnods: avoid trap for ufs vnode under construction
Parents
rG300aa267efaa: Makefile.inc1: Force NO_ROOT for distribute* and package*
Branches
Unknown
Tags
Unknown