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 rootfstype is not a vfs stub, so it...
details: https://anonhg.NetBSD.org/src/rev/98b8553b4c0d
branches: trunk
changeset: 753404:98b8553b4c0d
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Mar 26 18:21:28 2010 +0000
description:
rootfstype is not a vfs stub, so it doesn't belong in vfs_stubs
diffstat:
sys/rump/librump/rumpvfs/rump_vfs.c | 6 +++---
sys/rump/librump/rumpvfs/vfsops_stub.c | 6 ++----
2 files changed, 5 insertions(+), 7 deletions(-)
diffs (61 lines):
diff -r 6c20503ab8b7 -r 98b8553b4c0d sys/rump/librump/rumpvfs/rump_vfs.c
--- a/sys/rump/librump/rumpvfs/rump_vfs.c Fri Mar 26 18:15:15 2010 +0000
+++ b/sys/rump/librump/rumpvfs/rump_vfs.c Fri Mar 26 18:21:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_vfs.c,v 1.43 2010/03/05 18:41:46 pooka Exp $ */
+/* $NetBSD: rump_vfs.c,v 1.44 2010/03/26 18:21:28 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.43 2010/03/05 18:41:46 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.44 2010/03/26 18:21:28 pooka Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -55,6 +55,7 @@
#include "rump_vfs_private.h"
struct cwdinfo cwdi0;
+const char *rootfstype = ROOT_FSTYPE_ANY;
static void rump_rcvp_lwpset(struct vnode *, struct vnode *, struct lwp *);
@@ -108,7 +109,6 @@
panic("syncer thread create failed: %d", rv);
}
- rootfstype = ROOT_FSTYPE_ANY;
root_device = &rump_rootdev;
/* bootstrap cwdi (rest done in vfs_mountroot() */
diff -r 6c20503ab8b7 -r 98b8553b4c0d sys/rump/librump/rumpvfs/vfsops_stub.c
--- a/sys/rump/librump/rumpvfs/vfsops_stub.c Fri Mar 26 18:15:15 2010 +0000
+++ b/sys/rump/librump/rumpvfs/vfsops_stub.c Fri Mar 26 18:21:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfsops_stub.c,v 1.7 2009/03/19 09:14:37 pooka Exp $ */
+/* $NetBSD: vfsops_stub.c,v 1.8 2010/03/26 18:21:28 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfsops_stub.c,v 1.7 2009/03/19 09:14:37 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfsops_stub.c,v 1.8 2010/03/26 18:21:28 pooka Exp $");
#include <sys/param.h>
#include <sys/errno.h>
@@ -39,8 +39,6 @@
#include <miscfs/fifofs/fifo.h>
#include <miscfs/syncfs/syncfs.h>
-const char *rootfstype;
-
#define VFSSTUB(name) \
int name(void *arg) {panic("%s: unimplemented vfs stub", __func__);}
Home |
Main Index |
Thread Index |
Old Index