summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-04-27 15:29:31 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-04-27 15:29:31 +0000
commit5bde80c3d4db671250d804c353f1bfe7e6161770 (patch)
treed965caf3fdeb334c5e22e8729a24b916670644e7 /sys/kern/vfs_bio.c
parent26ad297b3fd2e3e1b04ddc6855c081d6cdd97641 (diff)
Comment biodone as "must be called at splbio".
It calls vwakeup and vwakeup is marked as "must be at splbio".
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index c476c1c05ed..8496a477f8b 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_bio.c,v 1.58 2002/03/14 01:27:06 millert Exp $ */
+/* $OpenBSD: vfs_bio.c,v 1.59 2002/04/27 15:29:30 art Exp $ */
/* $NetBSD: vfs_bio.c,v 1.44 1996/06/11 11:15:36 pk Exp $ */
/*-
@@ -1003,6 +1003,8 @@ biowait(bp)
* to do async stuff to, and doesn't want the buffer brelse()'d.
* (for swap pager, that puts swap buffers on the free lists (!!!),
* for the vn device, that puts malloc'd buffers on the free lists!)
+ *
+ * Must be called at splbio().
*/
void
biodone(bp)