HomeFreeBSD

fdesc_lookup(): the condition to use vn_vget_ino() is always true

Description

fdesc_lookup(): the condition to use vn_vget_ino() is always true

The ix number for the fdescfs root is 1, while any fd vnode has the ix
value at least 3.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D39207

Details

Provenance
kibAuthored on Mar 23 2023, 7:28 PM
Reviewer
markj
Differential Revision
D39207: Some fdescfs fixes
Parents
rG8d97282a3942: fdesc_lookup(): no need to vhold the dvp vnode
Branches
Unknown
Tags
Unknown