Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/procfs Fix a paste-o in procfs_lookup() introduce...



details:   https://anonhg.NetBSD.org/src/rev/72092fad8769
branches:  trunk
changeset: 474675:72092fad8769
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 14 23:52:22 1999 +0000

description:
Fix a paste-o in procfs_lookup() introduced with the vnode locking changes.
Fixes PR #7961, Mario Kemper <magick%bundy.lip.owl.de@localhost>.

diffstat:

 sys/miscfs/procfs/procfs_vnops.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 81b97fe1d582 -r 72092fad8769 sys/miscfs/procfs/procfs_vnops.c
--- a/sys/miscfs/procfs/procfs_vnops.c  Wed Jul 14 23:07:29 1999 +0000
+++ b/sys/miscfs/procfs/procfs_vnops.c  Wed Jul 14 23:52:22 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_vnops.c,v 1.62 1999/07/08 01:26:29 wrstuden Exp $       */
+/*     $NetBSD: procfs_vnops.c,v 1.63 1999/07/14 23:52:22 thorpej Exp $        */
 
 /*
  * Copyright (c) 1993 Jan-Simon Pendry
@@ -745,7 +745,7 @@
                if (p == 0)
                        break;
 
-               error = procfs_allocvp(dvp->v_mount, vpp, 0, Pproc);
+               error = procfs_allocvp(dvp->v_mount, vpp, pid, Pproc);
                if ((error == 0) && (wantpunlock)) {
                        VOP_UNLOCK(dvp, 0);
                        cnp->cn_flags |= PDIRUNLOCK;



Home | Main Index | Thread Index | Old Index