Fix missing xpt_done() for ATIO/INOT on missing LUN.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-02-24 12:11:17 +00:00
parent 8d1316f914
commit 5c0b756a9a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314203

View File

@ -3428,9 +3428,10 @@ isp_action(struct cam_sim *sim, union ccb *ccb)
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;