Module Name: src
Committed By: pooka
Date: Sun May 3 19:00:18 UTC 2009
Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c
Log Message:
set MNT_ROOTFS for the rootfs (the kernel, a logical piece of work)
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/rump/librump/rumpvfs/rumpfs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpvfs/rumpfs.c
diff -u src/sys/rump/librump/rumpvfs/rumpfs.c:1.15 src/sys/rump/librump/rumpvfs/rumpfs.c:1.16
--- src/sys/rump/librump/rumpvfs/rumpfs.c:1.15 Fri May 1 11:00:49 2009
+++ src/sys/rump/librump/rumpvfs/rumpfs.c Sun May 3 19:00:18 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpfs.c,v 1.15 2009/05/01 11:00:49 pooka Exp $ */
+/* $NetBSD: rumpfs.c,v 1.16 2009/05/03 19:00:18 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.15 2009/05/01 11:00:49 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.16 2009/05/03 19:00:18 pooka Exp $");
#include <sys/param.h>
#include <sys/mount.h>
@@ -380,6 +380,7 @@
/* XXX: init properly instead of this crap */
rump_mnt.mnt_refcnt = 1;
+ rump_mnt.mnt_flag = MNT_ROOTFS;
rw_init(&rump_mnt.mnt_unmounting);
TAILQ_INIT(&rump_mnt.mnt_vnodelist);