From 8ba6aa9a33249ae87134059b830ee88bf86f51cc Mon Sep 17 00:00:00 2001 From: grog Date: Thu, 4 May 2000 07:46:45 +0000 Subject: [PATCH] requeststatus: Correct check for striped plex. Submitted-by: Matthew Reimer --- sys/dev/vinum/vinumstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/vinum/vinumstate.c b/sys/dev/vinum/vinumstate.c index 318e040e552..463653d3bef 100644 --- a/sys/dev/vinum/vinumstate.c +++ b/sys/dev/vinum/vinumstate.c @@ -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 */ -- 2.45.2