diff options
| author | oster <oster@NetBSD.org> | 2003-12-31 00:42:46 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2003-12-31 00:42:46 +0000 |
| commit | 7c465d22a7af534dc73ba8c9dca3e5c8569ab56a (patch) | |
| tree | 6d6a6c13b4d7b73e490cefa2d64debe0d07878e3 /sys/dev/raidframe | |
| parent | 4635d077cffeca0c262f603edb0e9e084b6ff467 (diff) | |
Increase the scope of RF_DEBUG_PSS to cover a bit more stuff.
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_psstatus.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/raidframe/rf_psstatus.c b/sys/dev/raidframe/rf_psstatus.c index 302f2890440..70ddf0bd990 100644 --- a/sys/dev/raidframe/rf_psstatus.c +++ b/sys/dev/raidframe/rf_psstatus.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_psstatus.c,v 1.19 2003/12/30 21:59:03 oster Exp $ */ +/* $NetBSD: rf_psstatus.c,v 1.20 2003/12/31 00:42:46 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -37,7 +37,7 @@ *****************************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.19 2003/12/30 21:59:03 oster Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.20 2003/12/31 00:42:46 oster Exp $"); #include <dev/raidframe/raidframevar.h> @@ -124,17 +124,18 @@ void rf_FreeParityStripeStatusTable(RF_Raid_t *raidPtr, RF_PSStatusHeader_t *pssTable) { +#if RF_DEBUG_PSS int i; -#if RF_DEBUG_PSS if (rf_pssDebug) RealPrintPSStatusTable(raidPtr, pssTable); -#endif + for (i = 0; i < raidPtr->pssTableSize; i++) { if (pssTable[i].chain) { printf("ERROR: pss hash chain not null at recon shutdown\n"); } } +#endif RF_Free(pssTable, raidPtr->pssTableSize * sizeof(RF_PSStatusHeader_t)); } |
