Page MenuHomeFreeBSD

Correctly set error in rt_mpath_unlink
Needs ReviewPublic

Authored by mhorne on Tue, Jul 28, 9:10 PM.

Details

Reviewers
melifaro
thj
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

Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 32629
Build 30085: arc lint + arc unit

Event Timeline

mhorne created this revision.Tue, Jul 28, 9:10 PM
mhorne requested review of this revision.Tue, Jul 28, 9:10 PM

Hi, any opposition to this?