HomeFreeBSD

vfs: fix vnode use count leak in O_EMPTY_PATH support

Description

vfs: fix vnode use count leak in O_EMPTY_PATH support

The vnode returned by namei_setup is already referenced.

Reported by: pho

(cherry picked from commit cef8a95acbae0c3043d95028d8ebb24d959a82a0)

Details

Provenance
mjgAuthored on May 13 2021, 9:23 AM
Parents
rG002ebe67a8a5: nfscl: fix typo in a comment
Branches
Unknown
Tags
Unknown