summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2009-06-06 18:06:23 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2009-06-06 18:06:23 +0000
commite2b3079a9a2517a38b09f5f5122129e1f694dc8e (patch)
tree1bf93144b74c5ed6f6771088b014c23c8c0afdac /sys/miscfs
parent34fe98751844589de34ce4f031ccea5ab9f2db10 (diff)
All caller of buf_acquire were doing bremfree before the call.
Just put it in the buf_acquire function. oga@ ok
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index c310fbd8556..ed5a617a7d6 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.53 2008/07/24 18:48:18 thib Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.54 2009/06/06 18:06:22 art Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -439,7 +439,6 @@ loop:
continue;
if ((bp->b_flags & B_DELWRI) == 0)
panic("spec_fsync: not dirty");
- bremfree(bp);
buf_acquire(bp);
splx(s);
bawrite(bp);