svn commit: r358663 - head/sys/cam
Warner Losh
imp at FreeBSD.org
Thu Mar 5 06:21:01 UTC 2020
Author: imp
Date: Thu Mar 5 06:21:00 2020
New Revision: 358663
URL: https://svnweb.freebsd.org/changeset/base/358663
Log:
All paths lead to xpt_done, so move it after the switch.
Modified:
head/sys/cam/cam_xpt.c
Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c Thu Mar 5 06:20:17 2020 (r358662)
+++ head/sys/cam/cam_xpt.c Thu Mar 5 06:21:00 2020 (r358663)
@@ -5326,14 +5326,13 @@ xptaction(struct cam_sim *sim, union ccb *work_ccb)
cpi->transport = XPORT_UNSPECIFIED;
cpi->transport_version = XPORT_VERSION_UNSPECIFIED;
cpi->ccb_h.status = CAM_REQ_CMP;
- xpt_done(work_ccb);
break;
}
default:
work_ccb->ccb_h.status = CAM_REQ_INVALID;
- xpt_done(work_ccb);
break;
}
+ xpt_done(work_ccb);
}
/*
More information about the svn-src-head
mailing list