diff options
author | dg <dg@FreeBSD.org> | 1996-09-05 07:58:04 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-09-05 07:58:04 +0000 |
commit | 5ca5efce79f5a8457b5adc93f033b78f24a551a8 (patch) | |
tree | 099caaaa43dbe989293e9de1317d39d2890f4976 /sys/nfsserver | |
parent | ff7e508bb9113f73be79807abb0dfcf1a43130ee (diff) | |
download | FreeBSD-src-5ca5efce79f5a8457b5adc93f033b78f24a551a8.zip FreeBSD-src-5ca5efce79f5a8457b5adc93f033b78f24a551a8.tar.gz |
Release an unneeded reference to a vnode that was gained in a VFS_VGET().
Fixes a readdirplus panic.
Submitted by: Doug Rabson <dfr@render.com>
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_serv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index 116a2ba..145a6e6 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94 - * $Id: nfs_serv.c,v 1.31 1996/08/21 21:55:48 dyson Exp $ + * $Id: nfs_serv.c,v 1.32 1996/09/03 14:24:59 bde Exp $ */ /* @@ -2899,6 +2899,7 @@ again: nfsm_srvpostop_attr(getret, &at); return (0); } + vput(nvp); dirlen = len = NFSX_V3POSTOPATTR + NFSX_V3COOKIEVERF + 2 * NFSX_UNSIGNED; nfsm_reply(cnt); |