summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2000-01-15 01:57:57 +0000
committeroster <oster@NetBSD.org>2000-01-15 01:57:57 +0000
commit138d8fef0477fe57984c34b98b0bc181d3e6e386 (patch)
treeec247e16640162b714106ae4bf7f58e73d8f8b4e /sys/dev/raidframe
parente27fbcf4a2b55180d4ec51146005807e28ce7092 (diff)
Fix typo + cleanup a bit.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_paritylogDiskMgr.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_paritylogDiskMgr.c b/sys/dev/raidframe/rf_paritylogDiskMgr.c
index e5544a5a252..eb874f74e5c 100644
--- a/sys/dev/raidframe/rf_paritylogDiskMgr.c
+++ b/sys/dev/raidframe/rf_paritylogDiskMgr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_paritylogDiskMgr.c,v 1.9 2000/01/14 04:03:52 oster Exp $ */
+/* $NetBSD: rf_paritylogDiskMgr.c,v 1.10 2000/01/15 01:57:57 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -73,7 +73,7 @@ AcquireReintBuffer(pool)
pool->availBuffersIndex = 0;
RF_UNLOCK_MUTEX(pool->mutex);
} else {
- RF_PANIC(); /* should never happen in currect config,
+ RF_PANIC(); /* should never happen in correct config,
* single reint */
RF_WAIT_COND(pool->cond, pool->mutex);
}
@@ -382,9 +382,14 @@ ReintegrateRegion(
RF_PhysDiskAddr_t *rrd_pda, *prd_pda, *pwr_pda;
caddr_t parityBuffer, regionBuffer = NULL;
- /* Reintegrate a region (regionID). 1. acquire region and parity
- * buffers 2. read log from disk 3. read parity from disk 4. apply log
- * to parity 5. apply core log to parity 6. write new parity to disk
+ /* Reintegrate a region (regionID).
+ *
+ * 1. acquire region and parity buffers
+ * 2. read log from disk
+ * 3. read parity from disk
+ * 4. apply log to parity
+ * 5. apply core log to parity
+ * 6. write new parity to disk
*
* BLOCKING */