summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2002-09-21 00:40:18 +0000
committeroster <oster@NetBSD.org>2002-09-21 00:40:18 +0000
commitec7171cd75b32eb0d0577ed35bef1da2c7f63682 (patch)
tree2ccfc37463bbf86c62626d0fb9e9d37bdceb7ff6 /sys/dev
parentea9e550f690dde4a92d65e3800c563d4df190b41 (diff)
rf_CreateMirrorPartitionReadDAG is only used for chain declustering and
interdecluster. Thanks Krister!
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/raidframe/rf_dagffrd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_dagffrd.c b/sys/dev/raidframe/rf_dagffrd.c
index a85fd1d102c..adde300421d 100644
--- a/sys/dev/raidframe/rf_dagffrd.c
+++ b/sys/dev/raidframe/rf_dagffrd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_dagffrd.c,v 1.7 2002/08/02 03:42:34 oster Exp $ */
+/* $NetBSD: rf_dagffrd.c,v 1.8 2002/09/21 00:40:18 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_dagffrd.c,v 1.7 2002/08/02 03:42:34 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_dagffrd.c,v 1.8 2002/09/21 00:40:18 oster Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -427,6 +427,8 @@ rf_CreateMirrorIdleReadDAG(
rf_DiskReadMirrorIdleFunc);
}
+#if (RF_INCLUDE_CHAINDECLUSTER > 0) || (RF_INCLUDE_INTERDECLUSTER > 0)
+
void
rf_CreateMirrorPartitionReadDAG(
RF_Raid_t * raidPtr,
@@ -439,3 +441,4 @@ rf_CreateMirrorPartitionReadDAG(
CreateMirrorReadDAG(raidPtr, asmap, dag_h, bp, flags, allocList,
rf_DiskReadMirrorPartitionFunc);
}
+#endif