diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2009-06-06 18:06:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2009-06-06 18:06:23 +0000 |
commit | e2b3079a9a2517a38b09f5f5122129e1f694dc8e (patch) | |
tree | 1bf93144b74c5ed6f6771088b014c23c8c0afdac /sys/nfs/nfs_syscalls.c | |
parent | 34fe98751844589de34ce4f031ccea5ab9f2db10 (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/nfs/nfs_syscalls.c')
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index c9cbe28575d..e0f646dfbc8 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.80 2009/06/04 01:02:42 blambert Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.81 2009/06/06 18:06:22 art Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -662,7 +662,6 @@ nfssvc_iod(void *arg) if ((nbp->b_flags & (B_BUSY|B_DELWRI|B_NEEDCOMMIT|B_NOCACHE))!=B_DELWRI) continue; - bremfree(nbp); nbp->b_flags |= B_ASYNC; buf_acquire(nbp); break; |