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 Aug 12 2020, 4:43 PM
Parents
rG9eb0cd08ae49: linprocfs: Fix some inaccuracies in meminfo.
Branches
Unknown
Tags
Unknown

Event Timeline