diff options
author | 2009-06-25 15:49:26 +0000 | |
---|---|---|
committer | 2009-06-25 15:49:26 +0000 | |
commit | addc814ef495255faeea76b454c24b9fdd22d5ca (patch) | |
tree | ba674ffb4082b3dcec5195c8a2e4bb632f454594 /sys/miscfs | |
parent | Another copy another missing RTM_VERSION check. (diff) | |
download | wireguard-openbsd-addc814ef495255faeea76b454c24b9fdd22d5ca.tar.xz wireguard-openbsd-addc814ef495255faeea76b454c24b9fdd22d5ca.zip |
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/miscfs')
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index ed5a617a7d6..c846d54ff70 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.54 2009/06/06 18:06:22 art Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.55 2009/06/25 15:49:26 thib Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -439,6 +439,7 @@ loop: continue; if ((bp->b_flags & B_DELWRI) == 0) panic("spec_fsync: not dirty"); + bremfree(bp); buf_acquire(bp); splx(s); bawrite(bp); |