summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index f951a4d57eb..69a397fdb27 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.303 2013/05/21 14:25:23 jsing Exp $ */
+/* $OpenBSD: softraid.c,v 1.304 2013/05/21 14:30:00 jsing Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -4675,6 +4675,7 @@ sr_rebuild_thread(void *arg)
if (sr_check_io_collision(wu_r))
goto queued;
+ wu_r->swu_state = SR_WU_INPROGRESS;
sr_raid_startwu(wu_r);
queued:
splx(s);