Module Name: src Committed By: yamt Date: Sun May 10 03:51:44 UTC 2009
Modified Files: src/sys/nfs: nfs_vnops.c Log Message: restore lines, esp. a vrele() call, which i mistakenly removed in the previous. (rev.1.276) To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277 src/sys/nfs/nfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/nfs/nfs_vnops.c diff -u src/sys/nfs/nfs_vnops.c:1.276 src/sys/nfs/nfs_vnops.c:1.277 --- src/sys/nfs/nfs_vnops.c:1.276 Mon May 4 05:59:35 2009 +++ src/sys/nfs/nfs_vnops.c Sun May 10 03:51:43 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_vnops.c,v 1.276 2009/05/04 05:59:35 yamt Exp $ */ +/* $NetBSD: nfs_vnops.c,v 1.277 2009/05/10 03:51:43 yamt Exp $ */ /* * Copyright (c) 1989, 1993 @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.276 2009/05/04 05:59:35 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.277 2009/05/10 03:51:43 yamt Exp $"); #ifdef _KERNEL_OPT #include "opt_nfs.h" @@ -869,6 +869,8 @@ } if (error != 0) { /* newvp has been revoked. */ + vrele(newvp); + *vpp = NULLVP; goto dorpc; } if (cnp->cn_nameiop != LOOKUP && (flags & ISLASTCN))