summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2009-06-02 19:21:49 +0000
committermarco <marco@openbsd.org>2009-06-02 19:21:49 +0000
commit1c9ecc7c5e9fe194cc43bd766c9fb6911d379c24 (patch)
tree55c15ddafe4a7b18f584c0d28fdfa9dc21c7d7ec /sys/dev/softraid.c
parentMake rebuilds restartable over reboots. (diff)
downloadwireguard-openbsd-1c9ecc7c5e9fe194cc43bd766c9fb6911d379c24.tar.xz
wireguard-openbsd-1c9ecc7c5e9fe194cc43bd766c9fb6911d379c24.zip
space
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 8c4496ac7af..a6b8469893d 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.138 2009/06/02 19:15:58 marco Exp $ */
+/* $OpenBSD: softraid.c,v 1.139 2009/06/02 19:21:49 marco Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -2914,7 +2914,6 @@ queued:
splx(s);
/* wait for read completion */
-
slept = 0;
while ((wu_w->swu_flags & SR_WUF_REBUILDIOCOMP) == 0) {
tsleep(wu_w, PRIBIO, "sr_rebuild", 0);