requeststatus: Correct check for striped plex.

Submitted-by:	Matthew Reimer <mreimer@vpop.net>
This commit is contained in:
Greg Lehey 2000-05-04 07:46:45 +00:00
parent 16a3348dbf
commit 37669c86d4

View File

@ -37,7 +37,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
* $Id: vinumstate.c,v 2.15 2000/01/04 04:39:25 grog Exp grog $
* $Id: vinumstate.c,v 2.17 2000/04/02 05:41:29 grog Exp grog $
* $FreeBSD$
*/
@ -643,7 +643,7 @@ checksdstate(struct sd *sd, struct request *rq, daddr_t diskaddr, daddr_t disken
* - if it's RAID-4 or RAID-5, we can do it as
* long as only one subdisk is down
*/
if (plex->state == plex_striped) /* plex is striped, */
if (plex->organization == plex_striped) /* plex is striped, */
return REQUEST_DOWN;
else if (isparity(plex)) { /* RAID-4 or RAID-5 plex */