summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_chaindecluster.c
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>2001-01-26 04:27:16 +0000
committeroster <oster@NetBSD.org>2001-01-26 04:27:16 +0000
commit61a2ee28fb97e2f21d3367f28243515b159df4cf (patch)
tree5d13d0b8e7a75afd1264a513d9c6bbf9ba8a6f92 /sys/dev/raidframe/rf_chaindecluster.c
parentbcc70a3f37596ce3084eaa352957205d289c9f0a (diff)
Lots of stuff here that is only used for some of the 'fancier' RAID types.
Don't compile it if we arn't going to use it.
Diffstat (limited to 'sys/dev/raidframe/rf_chaindecluster.c')
-rw-r--r--sys/dev/raidframe/rf_chaindecluster.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/raidframe/rf_chaindecluster.c b/sys/dev/raidframe/rf_chaindecluster.c
index da91a8d0cfd..b8e5f84e077 100644
--- a/sys/dev/raidframe/rf_chaindecluster.c
+++ b/sys/dev/raidframe/rf_chaindecluster.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_chaindecluster.c,v 1.5 2001/01/26 04:14:14 oster Exp $ */
+/* $NetBSD: rf_chaindecluster.c,v 1.6 2001/01/26 04:27:16 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -33,6 +33,9 @@
*****************************************************************************/
#include "rf_archs.h"
+
+#if (RF_INCLUDE_CHAINDECLUSTER > 0)
+
#include "rf_types.h"
#include "rf_raid.h"
#include "rf_chaindecluster.h"
@@ -283,3 +286,4 @@ rf_RAIDCDagSelect(
} else
*createFunc = (RF_VoidFuncPtr) rf_CreateRaidOneWriteDAG;
}
+#endif /* (RF_INCLUDE_CHAINDECLUSTER > 0) */