Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe If the DAG failed, need to make sure we wi...



details:   https://anonhg.NetBSD.org/src/rev/3344d4476e16
branches:  trunk
changeset: 559727:3344d4476e16
user:      oster <oster%NetBSD.org@localhost>
date:      Mon Mar 22 20:28:57 2004 +0000

description:
If the DAG failed, need to make sure we wipe the dagList structures too.

diffstat:

 sys/dev/raidframe/rf_states.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 06f533291151 -r 3344d4476e16 sys/dev/raidframe/rf_states.c
--- a/sys/dev/raidframe/rf_states.c     Mon Mar 22 19:51:18 2004 +0000
+++ b/sys/dev/raidframe/rf_states.c     Mon Mar 22 20:28:57 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_states.c,v 1.33 2004/03/21 21:20:46 oster Exp $     */
+/*     $NetBSD: rf_states.c,v 1.34 2004/03/22 20:28:57 oster Exp $     */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_states.c,v 1.33 2004/03/21 21:20:46 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_states.c,v 1.34 2004/03/22 20:28:57 oster Exp $");
 
 #include <sys/errno.h>
 
@@ -620,6 +620,7 @@
                        for (i = 0; i < desc->numStripes; i++) {
                                rf_FreeDAG(dagList->dags);
                                temp = dagList;
+                               rf_FreeDAGList(temp);
                                dagList = dagList->next;
                        }
                        rf_MarkFailuresInASMList(raidPtr, asmh);



Home | Main Index | Thread Index | Old Index