summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-05-29 21:34:44 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-05-29 21:34:44 +0000
commit63cae2374b352a5452a0c84095c31908e2173452 (patch)
tree474b01ec0c3efed3e7b68d81b64edfd49f826758
parentc53d75c5f54951594b6518ddc4a2826336b39b1e (diff)
I suck. Forgot splx() in the early return path.
-rw-r--r--sys/kern/vfs_bio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 8efe5916313..15af121f996 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.91 2007/05/29 18:50:08 art Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.92 2007/05/29 21:34:43 art Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*-
@@ -996,6 +996,7 @@ getsome:
goto getsome;
}
if (bp == NULL) {
+ splx(s);
return (NULL);
}