rootfstype is not a vfs stub, so it doesn't belong in vfs_stubs

This commit is contained in:
pooka 2010-03-26 18:21:28 +00:00
parent a183ecd06c
commit acd98b55f4
2 changed files with 5 additions and 7 deletions

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: rump_vfs.c,v 1.43 2010/03/05 18:41:46 pooka Exp $");
#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 @@ rump_vfs_init(void)
panic("syncer thread create failed: %d", rv);
}
rootfstype = ROOT_FSTYPE_ANY;
root_device = &rump_rootdev;
/* bootstrap cwdi (rest done in vfs_mountroot() */

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: vfsops_stub.c,v 1.7 2009/03/19 09:14:37 pooka Exp $"
#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__);}