Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/nfs Pull up revision 1.64 (requested by bouyer in t...



details:   https://anonhg.NetBSD.org/src/rev/e01ce6fa0bc9
branches:  netbsd-1-6
changeset: 529117:e01ce6fa0bc9
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Sep 30 13:47:00 2002 +0000

description:
Pull up revision 1.64 (requested by bouyer in ticket #879):
In nfsrv_create(), kill an extra PNBUF_PUT() in the NFSv2 mknod case. The
pnbuf has already been freed by VOP_MKNOD. This should have been removed in
rev 1.60.
Should fix PR 18013, OK'd by fvdl.

diffstat:

 sys/nfs/nfs_serv.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2af91735e4b7 -r e01ce6fa0bc9 sys/nfs/nfs_serv.c
--- a/sys/nfs/nfs_serv.c        Mon Sep 30 13:39:16 2002 +0000
+++ b/sys/nfs/nfs_serv.c        Mon Sep 30 13:47:00 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_serv.c,v 1.62 2001/11/10 10:59:09 lukem Exp $      */
+/*     $NetBSD: nfs_serv.c,v 1.62.10.1 2002/09/30 13:47:00 lukem Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.62 2001/11/10 10:59:09 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_serv.c,v 1.62.10.1 2002/09/30 13:47:00 lukem Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1415,7 +1415,6 @@
                        if (error) {
                                nfsm_reply(0);
                        }
-                       PNBUF_PUT(nd.ni_cnd.cn_pnbuf);
                        if (nd.ni_cnd.cn_flags & ISSYMLINK) {
                                vrele(nd.ni_dvp);
                                vput(nd.ni_vp);



Home | Main Index | Thread Index | Old Index