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
Simplify kern_readlink_vp(). Tags None Referenced Files None Subscribers None
Description
Details
|