summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-03-14 00:07:58 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-03-14 00:07:58 +0000
commit31d9f37c33069ba39395849737d1ef3662a4c687 (patch)
tree4880c97d3eb5e2552985eb3ac224dac466671ab5 /sys
parent7d1793f23997004fe557332c9a5c09b56c813e9a (diff)
Whoops. missing simple_unlock.
From thorpej@netbsd.org
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_pool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index d6cb4495ad6..29007ba7a3b 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.28 2002/02/25 04:53:16 dhartmei Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.29 2002/03/14 00:07:57 art Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -1976,6 +1976,7 @@ pool_allocator_free(struct pool *pp, void *v)
pp->pr_flags &= ~PR_WANTED;
wakeup(pp);
}
+ simple_unlock(&pp->pr_slock);
}
wakeup(pa);
pa->pa_flags &= ~PA_WANT;