HomeFreeBSD

ufs: add vgone calls for unconstructed vnodes in the error path

Description

ufs: add vgone calls for unconstructed vnodes in the error path

This mostly eliminates the requirement that vput never unlocks the vnode
before calling VOP_INACTIVE. Note it may still be present for other
filesystems.

See r356126 for an example bug.

Note vput stopped doing early unlock in r357070 thus this change does
not affect correctness as it is.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D23215

Details