summaryrefslogtreecommitdiff
path: root/sbin/bioctl/bioctl.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-04-11 16:37:35 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-04-11 16:37:35 +0000
commit63bf5da29f892b8ed41022a6d1f628cf7e98a2de (patch)
tree9c73909afad804c09ffa111422cfae0aaa402992 /sbin/bioctl/bioctl.c
parent901f829acc4abc1a85823a3379130207cc6a14b6 (diff)
Re-enable the RAID 5 discipline for softraid(4).
The RAID 5 implementation has been largely rewritten during the last two hackathons in Dunedin - it now needs further testing and usage.
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r--sbin/bioctl/bioctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index e823581c832..393f1d54942 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.124 2015/03/18 07:42:13 uebayasi Exp $ */
+/* $OpenBSD: bioctl.c,v 1.125 2015/04/11 16:37:34 jsing Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -785,11 +785,9 @@ bio_createraid(u_int16_t level, char *dev_list, char *key_disk)
case 1:
min_disks = 2;
break;
-#ifdef RAID5
case 5:
min_disks = 3;
break;
-#endif /* RAID5 */
case 'C':
min_disks = 1;
break;