diff options
author | 2013-05-21 14:30:00 +0000 | |
---|---|---|
committer | 2013-05-21 14:30:00 +0000 | |
commit | fde344d96d90e3134b133e58fcb1d4ccaae29d21 (patch) | |
tree | 9988dc2170e09b0df04397e910b49a1516d073f2 /sys/dev/softraid.c | |
parent | Use a state to indicate that a work unit should only be constructed and not (diff) | |
download | wireguard-openbsd-fde344d96d90e3134b133e58fcb1d4ccaae29d21.tar.xz wireguard-openbsd-fde344d96d90e3134b133e58fcb1d4ccaae29d21.zip |
Fix missing work unit state initialisations.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 3 |
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); |