diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2007-03-31 12:07:51 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2007-03-31 12:07:51 +0000 |
commit | ad19ac019ab77ee5877e90ab02344a40fd81cf09 (patch) | |
tree | e02212d64f91b088139617deb0c2a39f807f687d /sys/dev/softraid.c | |
parent | 95bbe8f40844ffac6d55dd6f64ced2687fef6b2e (diff) |
Spacing and a stale comment.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index fbd6fc91ce7..0a5a7806ca9 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.11 2007/03/30 23:15:30 marco Exp $ */ +/* $OpenBSD: softraid.c,v 1.12 2007/03/31 12:07:50 marco Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * @@ -1383,7 +1383,6 @@ sr_raid1_set_chunk_state(struct sr_discipline *sd, int c, int new_state) s = splbio(); old_state = sd->sd_vol.sv_chunks[c]->src_meta.scm_status; - /* there is a race on status here but we don't care for now */ switch (old_state) { case BIOC_SDONLINE: switch (new_state) { @@ -1467,7 +1466,6 @@ sr_raid1_set_vol_state(struct sr_discipline *sd) nd = sd->sd_vol.sv_meta.svm_no_chunk; - for (i = 0; i < SR_MAX_STATES; i++) states[i] = 0; |