From 9e81bc058e1e4fe95c137d1a0badfaf0bd97b690 Mon Sep 17 00:00:00 2001 From: oster Date: Thu, 24 Feb 2000 02:55:05 +0000 Subject: Now that we have the information available, use the general maxOutstanding value for the RAID set, rather than looking at Queue[0][0] (which may not exist). --- sys/dev/raidframe/rf_disks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') diff --git a/sys/dev/raidframe/rf_disks.c b/sys/dev/raidframe/rf_disks.c index 76731cfbf37..fe298c7f570 100644 --- a/sys/dev/raidframe/rf_disks.c +++ b/sys/dev/raidframe/rf_disks.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_disks.c,v 1.17 2000/02/24 01:22:32 oster Exp $ */ +/* $NetBSD: rf_disks.c,v 1.18 2000/02/24 02:55:05 oster Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. * All rights reserved. @@ -1030,7 +1030,7 @@ rf_add_hot_spare(raidPtr, sparePtr) raidPtr->Queues[0][0].qPtr, /* XXX */ raidPtr->sectorsPerDisk, raidPtr->Disks[0][raidPtr->numCol + spare_number].dev, - raidPtr->Queues[0][0].maxOutstanding, /* XXX */ + raidPtr->maxOutstanding, &raidPtr->shutdownList, raidPtr->cleanupList); -- cgit