From ec7171cd75b32eb0d0577ed35bef1da2c7f63682 Mon Sep 17 00:00:00 2001 From: oster Date: Sat, 21 Sep 2002 00:40:18 +0000 Subject: [PATCH] rf_CreateMirrorPartitionReadDAG is only used for chain declustering and interdecluster. Thanks Krister! --- sys/dev/raidframe/rf_dagffrd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/raidframe/rf_dagffrd.c b/sys/dev/raidframe/rf_dagffrd.c index a85fd1d102c8..adde300421d0 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 -__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 @@ -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