diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2009-04-28 02:54:54 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2009-04-28 02:54:54 +0000 |
commit | 79864f575f55228e833b092a58c379a6bbc368b2 (patch) | |
tree | 45553a15acc4623249865051383e6c2d7282ec1e /sys/dev/softraid_raid0.c | |
parent | 515173ac8b20fbcd368970ed09ec04f274b68f3c (diff) |
Part one of partial bringup volumes. Plenty of rope to kill your data
use with caution...
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r-- | sys/dev/softraid_raid0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c index 6422dd53e35..0eb76ed61ef 100644 --- a/sys/dev/softraid_raid0.c +++ b/sys/dev/softraid_raid0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid0.c,v 1.11 2008/11/25 23:05:17 marco Exp $ */ +/* $OpenBSD: softraid_raid0.c,v 1.12 2009/04/28 02:54:53 marco Exp $ */ /* * Copyright (c) 2008 Marco Peereboom <marco@peereboom.us> * @@ -173,7 +173,7 @@ sr_raid0_set_vol_state(struct sr_discipline *sd) switch (old_state) { case BIOC_SVONLINE: - if (new_state == BIOC_SVOFFLINE) + if (new_state == BIOC_SVOFFLINE || new_state == BIOC_SVONLINE) break; else goto die; |