Source-Changes-HG archive

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

[src/trunk]: src/sys/kern cwdfree() signature has been changed to accomodate ...



details:   https://anonhg.NetBSD.org/src/rev/882e4bb31467
branches:  trunk
changeset: 567103:882e4bb31467
user:      pk <pk%NetBSD.org@localhost>
date:      Mon May 31 15:33:38 2004 +0000

description:
cwdfree() signature has been changed to accomodate fine-grained locking.

diffstat:

 sys/kern/kern_exit.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4836a98fc1ce -r 882e4bb31467 sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c      Mon May 31 15:30:55 2004 +0000
+++ b/sys/kern/kern_exit.c      Mon May 31 15:33:38 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exit.c,v 1.140 2004/05/04 21:23:39 pk Exp $       */
+/*     $NetBSD: kern_exit.c,v 1.141 2004/05/31 15:33:38 pk Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.140 2004/05/04 21:23:39 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.141 2004/05/31 15:33:38 pk Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_perfctrs.h"
@@ -265,7 +265,7 @@
         * This may block!
         */
        fdfree(p);
-       cwdfree(p);
+       cwdfree(p->p_cwdi);
 
        doexithooks(p);
 



Home | Main Index | Thread Index | Old Index