Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpvfs cwdi0 lock is now initialized in pr...



details:   https://anonhg.NetBSD.org/src/rev/7c83595ffbf4
branches:  trunk
changeset: 760503:7c83595ffbf4
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jan 06 10:20:57 2011 +0000

description:
cwdi0 lock is now initialized in proc0_init()

diffstat:

 sys/rump/librump/rumpvfs/rump_vfs.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5e1e901657d5 -r 7c83595ffbf4 sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c       Thu Jan 06 08:30:09 2011 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c       Thu Jan 06 10:20:57 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_vfs.c,v 1.63 2010/11/30 15:41:35 pooka Exp $      */
+/*     $NetBSD: rump_vfs.c,v 1.64 2011/01/06 10:20:57 pooka Exp $      */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.63 2010/11/30 15:41:35 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.64 2011/01/06 10:20:57 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -118,7 +118,6 @@
        root_device = &rump_rootdev;
 
        /* bootstrap cwdi (rest done in vfs_mountroot() */
-       rw_init(&cwdi0.cwdi_lock);
        proc0.p_cwdi = &cwdi0;
        proc0.p_cwdi = cwdinit();
 



Home | Main Index | Thread Index | Old Index