Page MenuHomeFreeBSD

Correctly set error in rt_mpath_unlink
ClosedPublic

Authored by mhorne on Jul 28 2020, 9:10 PM.
Tags
None
Referenced Files
F82868226: D25871.diff
Fri, May 3, 9:25 AM
Unknown Object (File)
Thu, May 2, 5:46 PM
Unknown Object (File)
Mon, Apr 29, 6:25 PM
Unknown Object (File)
Mon, Apr 29, 1:57 PM
Unknown Object (File)
Mon, Apr 29, 1:57 PM
Unknown Object (File)
Mon, Apr 29, 1:15 PM
Unknown Object (File)
Mon, Apr 29, 11:49 AM
Unknown Object (File)
Sun, Apr 28, 4:40 PM

Details

Summary

It is possible for rn_delete() to return NULL in certain cases. If this
happens then rt_mpath_unlink() should set *perror to ESRCH, as it does
in all other cases where it fails to find a radix_node.

Test Plan

buildkernel with RADIX_MPATH added to the kernel configuration

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable