Return to nfs_node.c CVS log | Up to [cvs.NetBSD.org] / src / sys / nfs |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.29.2.5, 2001/04/21 17:47:01 | version 1.29.2.6, 2001/04/23 09:42:34 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
error = VOP_GETATTR(vp, np->n_vattr, curproc->p_ucred, curproc); | error = VOP_GETATTR(vp, np->n_vattr, curproc->p_ucred, curproc); | ||
if (error) { | if (error) { | ||
lockmgr(&vp->v_lock, LK_RELEASE, 0); | |||
lockmgr(&nfs_hashlock, LK_RELEASE, 0); | lockmgr(&nfs_hashlock, LK_RELEASE, 0); | ||
vgone(vp); | |||
return error; | return error; | ||
} | } | ||
uvm_vnp_setsize(vp, np->n_vattr->va_size); | uvm_vnp_setsize(vp, np->n_vattr->va_size); |