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>
This commit is contained in:
parent
e547f8e83a
commit
0247363f69
@ -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 @@ nfsrv_readdirplus(nfsd, slp, procp, mrq)
|
||||
nfsm_srvpostop_attr(getret, &at);
|
||||
return (0);
|
||||
}
|
||||
vput(nvp);
|
||||
|
||||
dirlen = len = NFSX_V3POSTOPATTR + NFSX_V3COOKIEVERF + 2 * NFSX_UNSIGNED;
|
||||
nfsm_reply(cnt);
|
||||
|
@ -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 @@ nfsrv_readdirplus(nfsd, slp, procp, mrq)
|
||||
nfsm_srvpostop_attr(getret, &at);
|
||||
return (0);
|
||||
}
|
||||
vput(nvp);
|
||||
|
||||
dirlen = len = NFSX_V3POSTOPATTR + NFSX_V3COOKIEVERF + 2 * NFSX_UNSIGNED;
|
||||
nfsm_reply(cnt);
|
||||
|
Loading…
Reference in New Issue
Block a user