Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 10:37:09 -0700 (PDT)
From:      Nate Lawson <nate@root.org>
To:        "Kenneth D. Merry" <ken@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/cam/scsi scsi_da.c
Message-ID:  <Pine.BSF.4.21.0305031033160.607-100000@root.org>
In-Reply-To: <20030503002146.BD38537B49A@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0305031033160.607-100000>