Date: Fri, 13 Apr 2007 17:15:44 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 118018 for review Message-ID: <200704131715.l3DHFi38099408@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=118018 Change 118018 by scottl@scottl-y1 on 2007/04/13 17:11:24 Fix compile errors from the last version. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_target.c#12 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_target.c#12 (text+ko) ==== @@ -1051,6 +1051,7 @@ struct targ_cmd_descr *descr; struct ccb_abort cab; struct ccb_hdr *ccb_h; + struct cam_sim *sim; CAM_DEBUG(softc->path, CAM_DEBUG_PERIPH, ("abort_all_pending\n")); @@ -1083,7 +1084,8 @@ /* If we aborted at least one pending CCB ok, wait for it. */ if (cab.ccb_h.status == CAM_REQ_CMP) { - msleep(&softc->pending_ccb_queue, softc->path->sim->mtx, + sim = xpt_path_sim(softc->path); + msleep(&softc->pending_ccb_queue, sim->mtx, PRIBIO | PCATCH, "tgabrt", 0); }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704131715.l3DHFi38099408>
