diff options
| author | oster <oster@NetBSD.org> | 2000-02-24 02:55:05 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2000-02-24 02:55:05 +0000 |
| commit | 9e81bc058e1e4fe95c137d1a0badfaf0bd97b690 (patch) | |
| tree | 23a6b817bd18c388777e9f96381f6e8d8ae6ecbc /sys/dev/raidframe | |
| parent | 99f070bab8745a0c4433709f8c66fc1d2a711b35 (diff) | |
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).
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_disks.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
