svn commit: r314203 - head/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Fri Feb 24 12:11:19 UTC 2017


Author: mav
Date: Fri Feb 24 12:11:17 2017
New Revision: 314203
URL: https://svnweb.freebsd.org/changeset/base/314203

Log:
  Fix missing xpt_done() for ATIO/INOT on missing LUN.
  
  MFC after:	2 weeks

Modified:
  head/sys/dev/isp/isp_freebsd.c

Modified: head/sys/dev/isp/isp_freebsd.c
==============================================================================
--- head/sys/dev/isp/isp_freebsd.c	Fri Feb 24 11:34:00 2017	(r314202)
+++ head/sys/dev/isp/isp_freebsd.c	Fri Feb 24 12:11:17 2017	(r314203)
@@ -3428,9 +3428,10 @@ isp_action(struct cam_sim *sim, union cc
 			else
 				str = "XPT_ACCEPT_TARGET_IO";
 			ISP_PATH_PRT(isp, ISP_LOGWARN, ccb->ccb_h.path,
-			    "%s: [0x%x] no state pointer found for %s\n",
+			    "%s: no state pointer found for %s\n",
 			    __func__, str);
 			ccb->ccb_h.status = CAM_DEV_NOT_THERE;
+			xpt_done(ccb);
 			break;
 		}
 		ccb->ccb_h.spriv_field0 = 0;


More information about the svn-src-all mailing list