HomeFreeBSD

Correctly set error in rt_mpath_unlink

Description

Correctly set error in rt_mpath_unlink

It is possible for rn_delete() to return NULL. If this happens, then set
*perror to ESRCH, as is done in the rest of the function.

Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D25871

Details

Provenance
mhorneAuthored on
Differential Revision
D25871: Correctly set error in rt_mpath_unlink
Parents
rS364171: release: update to use git instead of svn:
Branches
Unknown
Tags
Unknown