diff options
author | dg <dg@FreeBSD.org> | 1995-10-22 09:37:45 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-10-22 09:37:45 +0000 |
commit | db7c5a06eaf8a1b22a7681660d844c2977be0f68 (patch) | |
tree | c4c424116edb59b3fc93c7f8fef5dcb1dacfdefb /sys/nfsclient | |
parent | b5341559e2be008ac6cd1e40a68bdd77a3ec8b63 (diff) | |
download | FreeBSD-src-db7c5a06eaf8a1b22a7681660d844c2977be0f68.zip FreeBSD-src-db7c5a06eaf8a1b22a7681660d844c2977be0f68.tar.gz |
Fix order problem: unbusy pages before releasing the buffer.
Submitted by: John Dyson <dyson>
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 41f27fb..db6bbde 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vnops.c 8.5 (Berkeley) 2/13/94 - * $Id: nfs_vnops.c,v 1.24 1995/09/04 00:20:50 dyson Exp $ + * $Id: nfs_vnops.c,v 1.25 1995/10/22 09:32:42 davidg Exp $ */ /* @@ -2832,8 +2832,8 @@ again: bp = bvec[i]; bp->b_flags &= ~(B_NEEDCOMMIT | B_WRITEINPROG); if (retv) { - brelse(bp); vfs_unbusy_pages(bp); + brelse(bp); } else { vp->v_numoutput++; bp->b_flags |= B_ASYNC; |