diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2013-05-21 14:30:02 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2013-05-21 14:30:02 +0000 |
commit | 5d78a47daf36d5057456abaca950776be8f9f7b6 (patch) | |
tree | 93c4858db8cd6bb9856f47ff287e95b0cfaf6a58 /sys/dev/softraid_raid6.c | |
parent | cb4f6508aeb3f5260bc44d7440e19a344b945b02 (diff) |
Fix missing work unit state initialisations.
Diffstat (limited to 'sys/dev/softraid_raid6.c')
-rw-r--r-- | sys/dev/softraid_raid6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/softraid_raid6.c b/sys/dev/softraid_raid6.c index 231694a8772..c77583a0187 100644 --- a/sys/dev/softraid_raid6.c +++ b/sys/dev/softraid_raid6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid6.c,v 1.50 2013/05/21 14:25:23 jsing Exp $ */ +/* $OpenBSD: softraid_raid6.c,v 1.51 2013/05/21 14:30:01 jsing Exp $ */ /* * Copyright (c) 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2009 Jordan Hargrave <jordan@openbsd.org> @@ -405,6 +405,7 @@ sr_raid6_rw(struct sr_workunit *wu) printf("%s: can't get wu_r", DEVNAME(sd->sd_sc)); goto bad; } + wu_r->swu_state = SR_WU_INPROGRESS; wu_r->swu_flags |= SR_WUF_DISCIPLINE; } |