Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe Add in a couple of missed foo=foo->next's.



details:   https://anonhg.NetBSD.org/src/rev/bd6210f03d2a
branches:  trunk
changeset: 559615:bd6210f03d2a
user:      oster <oster%NetBSD.org@localhost>
date:      Sun Mar 21 03:22:08 2004 +0000

description:
Add in a couple of missed foo=foo->next's.

diffstat:

 sys/dev/raidframe/rf_dagdegwr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r d2c00c717d69 -r bd6210f03d2a sys/dev/raidframe/rf_dagdegwr.c
--- a/sys/dev/raidframe/rf_dagdegwr.c   Sun Mar 21 02:20:21 2004 +0000
+++ b/sys/dev/raidframe/rf_dagdegwr.c   Sun Mar 21 03:22:08 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_dagdegwr.c,v 1.21 2004/03/20 05:21:53 oster Exp $   */
+/*     $NetBSD: rf_dagdegwr.c,v 1.22 2004/03/21 03:22:08 oster Exp $   */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagdegwr.c,v 1.21 2004/03/20 05:21:53 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagdegwr.c,v 1.22 2004/03/21 03:22:08 oster Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -512,6 +512,7 @@
                commitNode->succedents[i] = tmpwndNode;
                tmpwndNode->antecedents[0] = commitNode;
                tmpwndNode->antType[0] = rf_control;
+               tmpwndNode = tmpwndNode->list_next;
        }
 
        /* link the commit node to wnp, wnq nodes */
@@ -535,6 +536,7 @@
                tmpwndNode->succedents[0] = unblockNode;
                unblockNode->antecedents[i] = tmpwndNode;
                unblockNode->antType[i] = rf_control;
+               tmpwndNode = tmpwndNode->list_next;
        }
 
        /* link write new parity node to unblock node */



Home | Main Index | Thread Index | Old Index