cvs commit: src/sys/cam/scsi scsi_da.c

Nate Lawson nate at root.org
Sat May 3 10:37:11 PDT 2003


On Fri, 2 May 2003, Kenneth D. Merry wrote:
>   Modified files:
>     sys/cam/scsi         scsi_da.c 
>   Log:
>   Fix three problems in large (>2TB) device handling:
>    - Make sure we don't release the READ CAPACITY CCB twice

Does the "s/break/return" fix this?

> @@ -1548,8 +1548,8 @@
>  					softc->state = DA_STATE_PROBE2;
>  					free(rdcap, M_TEMP);
>  					xpt_release_ccb(done_ccb);
> -					cam_periph_unlock(periph);
> -					break;
> +					xpt_schedule(periph, /*priority*/5);
> +					return;
>  				}
>  			} else {
>  				block_size = scsi_4btoul(rcaplong->length);

-Nate



More information about the cvs-src mailing list