diff options
author | dg <dg@FreeBSD.org> | 1995-01-10 13:06:51 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-01-10 13:06:51 +0000 |
commit | 321000d1af23f8206984ae33d7abc3d77f0fedd8 (patch) | |
tree | 333830c6ec73900b9aecebd27fd92441791b1972 | |
parent | dfe96532e99073d7250eff8dae5b04dcaecbbcad (diff) | |
download | FreeBSD-src-321000d1af23f8206984ae33d7abc3d77f0fedd8.zip FreeBSD-src-321000d1af23f8206984ae33d7abc3d77f0fedd8.tar.gz |
Added two missing brelse() calls.
Submitted by: rick@snowhite.cis.uoguelph.ca
-rw-r--r-- | sys/nfs/nfs_bio.c | 6 | ||||
-rw-r--r-- | sys/nfsclient/nfs_bio.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 4f8fc3e..b1430dc 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id: nfs_bio.c,v 1.7 1994/10/17 17:47:32 phk Exp $ + * $Id: nfs_bio.c,v 1.8 1995/01/09 16:05:05 davidg Exp $ */ #include <sys/param.h> @@ -220,6 +220,8 @@ nfs_bioread(vp, uio, ioflag, cred) vfs_unbusy_pages(rabp); brelse(rabp); } + } else { + brelse(rabp); } } } @@ -339,6 +341,8 @@ again: rabp->b_flags |= B_INVAL|B_ERROR; brelse(rabp); } + } else { + brelse(rabp); } } } diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 4f8fc3e..b1430dc 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.5 (Berkeley) 1/4/94 - * $Id: nfs_bio.c,v 1.7 1994/10/17 17:47:32 phk Exp $ + * $Id: nfs_bio.c,v 1.8 1995/01/09 16:05:05 davidg Exp $ */ #include <sys/param.h> @@ -220,6 +220,8 @@ nfs_bioread(vp, uio, ioflag, cred) vfs_unbusy_pages(rabp); brelse(rabp); } + } else { + brelse(rabp); } } } @@ -339,6 +341,8 @@ again: rabp->b_flags |= B_INVAL|B_ERROR; brelse(rabp); } + } else { + brelse(rabp); } } } |