diff options
author | 2009-06-06 18:06:22 +0000 | |
---|---|---|
committer | 2009-06-06 18:06:22 +0000 | |
commit | 785baf9ec4e85452140dd0b3ef252945b2aed0a1 (patch) | |
tree | 145e7306fd2bbbe9786cb2f1c56a241d1bb201a7 /sys/kern/spec_vnops.c | |
parent | - remove unused macro from iostat.c (diff) | |
download | wireguard-openbsd-785baf9ec4e85452140dd0b3ef252945b2aed0a1.tar.xz wireguard-openbsd-785baf9ec4e85452140dd0b3ef252945b2aed0a1.zip |
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/kern/spec_vnops.c')
-rw-r--r-- | sys/kern/spec_vnops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c index c310fbd8556..ed5a617a7d6 100644 --- a/sys/kern/spec_vnops.c +++ b/sys/kern/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); |