aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-01-10 13:06:51 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-01-10 13:06:51 +0000
commit740c65cfecadec7c48089d4c02533a85d95702db (patch)
tree333830c6ec73900b9aecebd27fd92441791b1972 /sys/nfsclient
parent4c0b41ec3bc54b6bf01f4f5a18996cfe4b0b8cb3 (diff)
Notes
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_bio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index 4f8fc3e10176..b1430dc246e1 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);
}
}
}