summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2000-05-04 07:46:45 +0000
committergrog <grog@FreeBSD.org>2000-05-04 07:46:45 +0000
commit8ba6aa9a33249ae87134059b830ee88bf86f51cc (patch)
treea38b0b61067c6723902377475df1b3f74cb29b96 /sys
parentbbbefd438c69a46d89e532fabc06e1a96287d3be (diff)
downloadFreeBSD-src-8ba6aa9a33249ae87134059b830ee88bf86f51cc.zip
FreeBSD-src-8ba6aa9a33249ae87134059b830ee88bf86f51cc.tar.gz
requeststatus: Correct check for striped plex.
Submitted-by: Matthew Reimer <mreimer@vpop.net>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinumstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumstate.c b/sys/dev/vinum/vinumstate.c
index 318e040..463653d 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 */
OpenPOWER on IntegriCloud