Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/nfs/nfs_node.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/nfs/nfs_node.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.41 retrieving revision 1.42 diff -u -p -r1.41 -r1.42 --- src/sys/nfs/nfs_node.c 2001/02/07 12:40:44 1.41 +++ src/sys/nfs/nfs_node.c 2001/04/20 07:58:04 1.42 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_node.c,v 1.41 2001/02/07 12:40:44 tsutsui Exp $ */ +/* $NetBSD: nfs_node.c,v 1.42 2001/04/20 07:58:04 fvdl Exp $ */ /* * Copyright (c) 1989, 1993 @@ -186,6 +186,7 @@ loop: */ error = VOP_GETATTR(vp, np->n_vattr, curproc->p_ucred, curproc); if (error) { + lockmgr(&nfs_hashlock, LK_RELEASE, 0); return error; } uvm_vnp_setsize(vp, np->n_vattr->va_size);