Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe rf_DiskReadMirrorPartitionFunc() is only n...



details:   https://anonhg.NetBSD.org/src/rev/58626398c971
branches:  trunk
changeset: 539493:58626398c971
user:      oster <oster%NetBSD.org@localhost>
date:      Mon Nov 18 23:46:28 2002 +0000

description:
rf_DiskReadMirrorPartitionFunc() is only needed for some of the clustering
stuff, or if we're doing DAG validation.  Thanks to Krister!

diffstat:

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

diffs (34 lines):

diff -r 068a4e3ff775 -r 58626398c971 sys/dev/raidframe/rf_dagfuncs.c
--- a/sys/dev/raidframe/rf_dagfuncs.c   Mon Nov 18 23:38:46 2002 +0000
+++ b/sys/dev/raidframe/rf_dagfuncs.c   Mon Nov 18 23:46:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_dagfuncs.c,v 1.10 2002/09/21 00:52:49 oster Exp $   */
+/*     $NetBSD: rf_dagfuncs.c,v 1.11 2002/11/18 23:46:28 oster Exp $   */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagfuncs.c,v 1.10 2002/09/21 00:52:49 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagfuncs.c,v 1.11 2002/11/18 23:46:28 oster Exp $");
 
 #include <sys/param.h>
 #include <sys/ioctl.h>
@@ -147,6 +147,7 @@
        return (rf_DiskReadFunc(node));
 }
 
+#if (RF_INCLUDE_CHAINDECLUSTER > 0) || (RF_INCLUDE_INTERDECLUSTER > 0) || (RF_DEBUG_VALIDATE_DAG > 0)
 int 
 rf_DiskReadMirrorPartitionFunc(node)
        RF_DagNode_t *node;
@@ -157,6 +158,7 @@
        rf_SelectMirrorDiskPartition(node);
        return (rf_DiskReadFunc(node));
 }
+#endif
 
 int 
 rf_DiskReadMirrorUndoFunc(node)



Home | Main Index | Thread Index | Old Index