summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs/ffs_vnops.c
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/ufs/ffs/ffs_vnops.c
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/ufs/ffs/ffs_vnops.c')
-rw-r--r--sys/ufs/ffs/ffs_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
index 160158f8f3b..7b92d471191 100644
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_vnops.c,v 1.52 2009/01/15 07:58:37 grange Exp $ */
+/* $OpenBSD: ffs_vnops.c,v 1.53 2009/06/06 18:06:22 art Exp $ */
/* $NetBSD: ffs_vnops.c,v 1.7 1996/05/11 18:27:24 mycroft Exp $ */
/*
@@ -448,7 +448,6 @@ loop:
continue;
}
- bremfree(bp);
buf_acquire(bp);
bp->b_flags |= B_SCANNED;
splx(s);