summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_biomem.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-06-25 15:49:27 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-06-25 15:49:27 +0000
commit76b6aacf60d37639f946fe7c18eba405f282e980 (patch)
tree1c9e03957a54b2006f8bbda1f3d6f26d73c2556e /sys/kern/vfs_biomem.c
parentacb0cca6a4b9cfbd09f6f68cb75c95df1bf3cf23 (diff)
backout the buf_acquire() does the bremfree() since all callers
where doing bremfree() befure calling buf_acquire(). This is causing us headache pinning down a bug that showed up when deraadt@ too cvs to current, and will have to be done anyway as a preperation for backouts. OK deraadt@
Diffstat (limited to 'sys/kern/vfs_biomem.c')
-rw-r--r--sys/kern/vfs_biomem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_biomem.c b/sys/kern/vfs_biomem.c
index ac9eaf95e25..89ab5f4d114 100644
--- a/sys/kern/vfs_biomem.c
+++ b/sys/kern/vfs_biomem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_biomem.c,v 1.8 2009/06/16 00:11:29 oga Exp $ */
+/* $OpenBSD: vfs_biomem.c,v 1.9 2009/06/25 15:49:26 thib Exp $ */
/*
* Copyright (c) 2007 Artur Grabowski <art@openbsd.org>
*
@@ -80,12 +80,10 @@ buf_acquire(struct buf *bp)
KASSERT((bp->b_flags & B_BUSY) == 0);
s = splbio();
-
/*
* Busy before waiting for kvm.
*/
SET(bp->b_flags, B_BUSY);
- bremfree(bp);
buf_map(bp);
splx(s);