svn commit: r364906 - stable/12/sys/cam
Andriy Gapon
avg at FreeBSD.org
Fri Aug 28 08:54:28 UTC 2020
Author: avg
Date: Fri Aug 28 08:54:27 2020
New Revision: 364906
URL: https://svnweb.freebsd.org/changeset/base/364906
Log:
MFC r358662 by imp: xpt_async is submitting a CCB, not finishing it up,
so use xpt_action() instead of xpt_done().
Modified:
stable/12/sys/cam/cam_xpt.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/cam/cam_xpt.c
==============================================================================
--- stable/12/sys/cam/cam_xpt.c Fri Aug 28 08:52:00 2020 (r364905)
+++ stable/12/sys/cam/cam_xpt.c Fri Aug 28 08:54:27 2020 (r364906)
@@ -3171,6 +3171,10 @@ call_sim:
start_ccb->ccb_h.status = CAM_REQ_CMP;
xpt_done(start_ccb);
break;
+ case XPT_ASYNC:
+ start_ccb->ccb_h.status = CAM_REQ_CMP;
+ xpt_done(start_ccb);
+ break;
default:
case XPT_SDEV_TYPE:
case XPT_TERM_IO:
@@ -4462,7 +4466,7 @@ xpt_async(u_int32_t async_code, struct cam_path *path,
xpt_freeze_devq(path, 1);
else
xpt_freeze_simq(path->bus->sim, 1);
- xpt_done(ccb);
+ xpt_action(ccb);
}
static void
More information about the svn-src-stable-12
mailing list