HomeFreeBSD

zfs_vget: fix vnode reference count leak in error path

Description

zfs_vget: fix vnode reference count leak in error path

If vn_lock() failed, then the function returned the error but the vnode
obtained via zfs_zget() was never released.

MFC after: 10 days
Sponsored by: Panzura

Details

Provenance
avgAuthored on
Parents
rS351167: Include item position in report descriptor dump in usbhidctl(1).
Branches
Unknown
Tags
Unknown