infoFunc doesn't exist any more. Nuke commented out bits refering

to infoFunc.
This commit is contained in:
oster 2003-11-16 20:32:05 +00:00
parent da9776152f
commit 3c778e952c
4 changed files with 12 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_evenodd.c,v 1.9 2002/09/23 02:40:08 oster Exp $ */
/* $NetBSD: rf_evenodd.c,v 1.10 2003/11/16 20:32:05 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -33,7 +33,7 @@
****************************************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_evenodd.c,v 1.9 2002/09/23 02:40:08 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_evenodd.c,v 1.10 2003/11/16 20:32:05 oster Exp $");
#include "rf_archs.h"
@ -213,7 +213,7 @@ rf_EODagSelect(
RF_ASSERT(RF_IO_IS_R_OR_W(type));
if (ntfail > 2) {
RF_ERRORMSG("more than two disks failed in a single group! Aborting I/O operation.\n");
/* *infoFunc = */ *createFunc = NULL;
*createFunc = NULL;
return;
}
/* ok, we can do this I/O */

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_paritylogging.c,v 1.14 2002/09/23 02:40:08 oster Exp $ */
/* $NetBSD: rf_paritylogging.c,v 1.15 2003/11/16 20:32:05 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_paritylogging.c,v 1.14 2002/09/23 02:40:08 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_paritylogging.c,v 1.15 2003/11/16 20:32:05 oster Exp $");
#include "rf_archs.h"
@ -943,7 +943,7 @@ rf_ParityLoggingDagSelect(
if (asmp->numDataFailed + asmp->numParityFailed > 1) {
RF_ERRORMSG("Multiple disks failed in a single group! Aborting I/O operation.\n");
/* *infoFunc = */ *createFunc = NULL;
*createFunc = NULL;
return;
} else
if (asmp->numDataFailed + asmp->numParityFailed == 1) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_pq.c,v 1.12 2002/05/22 15:40:51 wiz Exp $ */
/* $NetBSD: rf_pq.c,v 1.13 2003/11/16 20:32:05 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_pq.c,v 1.12 2002/05/22 15:40:51 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_pq.c,v 1.13 2003/11/16 20:32:05 oster Exp $");
#include "rf_archs.h"
@ -115,7 +115,7 @@ rf_PQDagSelect(
RF_ASSERT(RF_IO_IS_R_OR_W(type));
if (ntfail > 2) {
RF_ERRORMSG("more than two disks failed in a single group! Aborting I/O operation.\n");
/* *infoFunc = */ *createFunc = NULL;
*createFunc = NULL;
return;
}
/* ok, we can do this I/O */
@ -146,7 +146,6 @@ rf_PQDagSelect(
break;
case 2:
/* lost two data units */
/* *infoFunc = PQOneTwo; */
*createFunc = (RF_VoidFuncPtr) rf_PQ_200_CreateReadDAG;
break;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_raid5.c,v 1.7 2002/09/23 02:40:09 oster Exp $ */
/* $NetBSD: rf_raid5.c,v 1.8 2003/11/16 20:32:05 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -33,7 +33,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_raid5.c,v 1.7 2002/09/23 02:40:09 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_raid5.c,v 1.8 2003/11/16 20:32:05 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@ -196,7 +196,7 @@ rf_RaidFiveDagSelect(
if (asmap->numDataFailed + asmap->numParityFailed > 1) {
RF_ERRORMSG("Multiple disks failed in a single group! Aborting I/O operation.\n");
/* *infoFunc = */ *createFunc = NULL;
*createFunc = NULL;
return;
} else
if (asmap->numDataFailed + asmap->numParityFailed == 1) {