summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid1.c
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2009-04-28 02:54:53 +0000
committermarco <marco@openbsd.org>2009-04-28 02:54:53 +0000
commita1d8c2c6c0d9692a432961b020307ba559efa1ed (patch)
tree3556a331228eda8318ef23c0dbf18e8650f48886 /sys/dev/softraid_raid1.c
parentit's easier to have the speaker dac in the converter group than (diff)
downloadwireguard-openbsd-a1d8c2c6c0d9692a432961b020307ba559efa1ed.tar.xz
wireguard-openbsd-a1d8c2c6c0d9692a432961b020307ba559efa1ed.zip
Part one of partial bringup volumes. Plenty of rope to kill your data
use with caution...
Diffstat (limited to 'sys/dev/softraid_raid1.c')
-rw-r--r--sys/dev/softraid_raid1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraid_raid1.c b/sys/dev/softraid_raid1.c
index 30c7e75ee2b..785c8f788e8 100644
--- a/sys/dev/softraid_raid1.c
+++ b/sys/dev/softraid_raid1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid1.c,v 1.7 2008/11/25 23:05:17 marco Exp $ */
+/* $OpenBSD: softraid_raid1.c,v 1.8 2009/04/28 02:54:53 marco Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -210,6 +210,7 @@ sr_raid1_set_vol_state(struct sr_discipline *sd)
switch (old_state) {
case BIOC_SVONLINE:
switch (new_state) {
+ case BIOC_SVONLINE: /* can go to same state */
case BIOC_SVOFFLINE:
case BIOC_SVDEGRADED:
break;