Module Name: src Committed By: macallan Date: Wed Nov 7 02:31:49 UTC 2012
Modified Files: src/sys/nfs: nfs_vnops.c Log Message: fix crash in nfs client lookups, dholland says 'my fault' To generate a diff of this commit: cvs rdiff -u -r1.297 -r1.298 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.297 src/sys/nfs/nfs_vnops.c:1.298 --- src/sys/nfs/nfs_vnops.c:1.297 Mon Nov 5 17:27:39 2012 +++ src/sys/nfs/nfs_vnops.c Wed Nov 7 02:31:48 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: nfs_vnops.c,v 1.297 2012/11/05 17:27:39 dholland Exp $ */ +/* $NetBSD: nfs_vnops.c,v 1.298 2012/11/07 02:31:48 macallan Exp $ */ /* * Copyright (c) 1989, 1993 @@ -39,7 +39,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.297 2012/11/05 17:27:39 dholland Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.298 2012/11/07 02:31:48 macallan Exp $"); #ifdef _KERNEL_OPT #include "opt_nfs.h" @@ -847,6 +847,7 @@ nfs_lookup(void *v) if (*vpp == NULLVP) { /* namecache gave us a negative result */ + error = ENOENT; goto noentry; }