HomeFreeBSD

Simplify kern_readlink_vp().

Description

Simplify kern_readlink_vp().

When we detected that the vnode is not symlink, return immediately.
This moves the readlink code out of else branch and unindents it.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS341711: Fix expression evaluation.
Branches
Unknown
Tags
Unknown