HomeFreeBSD

cam: change xpt_clone_path to return int

Description

cam: change xpt_clone_path to return int

xpt_clone_path originally returned a cam_status, but it doesn't do I/O
and should return an errno instead. I added it last year and it's only
used in one place. It's not yet documented, so no doc changes are
nneeded.

Reviewed by: scottl@, mav@
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30884

Details

Provenance
impAuthored on Jun 28 2021, 10:04 PM
Differential Revision
D30884: cam: change xpt_clone_path to return int
Parents
rG2b0987023804: cam: Remove CAM_TRUE and CAM_FALSE, they are unused and duplicate bool
Branches
Unknown
Tags
Unknown