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 rumpfs is mpsafe (has always been), ...



details:   https://anonhg.NetBSD.org/src/rev/6c435bfdc08f
branches:  trunk
changeset: 754126:6c435bfdc08f
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Apr 21 07:35:12 2010 +0000

description:
rumpfs is mpsafe (has always been), so mark it as such.

diffstat:

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

diffs (26 lines):

diff -r 22f0e73ef53a -r 6c435bfdc08f sys/rump/librump/rumpvfs/rumpfs.c
--- a/sys/rump/librump/rumpvfs/rumpfs.c Wed Apr 21 06:00:06 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rumpfs.c Wed Apr 21 07:35:12 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfs.c,v 1.39 2010/04/14 16:05:53 pooka Exp $        */
+/*     $NetBSD: rumpfs.c,v 1.40 2010/04/21 07:35:12 pooka Exp $        */
 
 /*
  * Copyright (c) 2009  Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.39 2010/04/14 16:05:53 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.40 2010/04/21 07:35:12 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -895,6 +895,7 @@
        mp->mnt_stat.f_namemax = MAXNAMLEN;
        mp->mnt_stat.f_iosize = 512;
        mp->mnt_flag |= MNT_LOCAL;
+       mp->mnt_iflag |= IMNT_MPSAFE;
        vfs_getnewfsid(mp);
 
        error = set_statvfs_info("/", UIO_SYSSPACE, "rumpfs", UIO_SYSSPACE,



Home | Main Index | Thread Index | Old Index