summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_vfsops.c')
-rw-r--r--sys/ufs/ext2fs/ext2fs_vfsops.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c
index bbfa736b6bc..47e016d98a3 100644
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: ext2fs_vfsops.c,v 1.2 1997/05/30 08:34:06 downsj Exp $ */
/* $NetBSD: ffs_vfsops.c,v 1.21 1996/10/12 21:58:47 christos Exp $ */
/* Modified for EXT2FS on NetBSD by Manuel Bouyer, April 1997 */
@@ -82,7 +83,6 @@ struct vfsops ext2fs_vfsops = {
ext2fs_fhtovp,
ext2fs_vptofh,
ext2fs_init,
- ext2fs_mountroot,
};
extern u_long ext2gennumber;
@@ -152,9 +152,6 @@ ext2fs_mountroot()
size_t size;
int error;
- if (root_device->dv_class != DV_DISK)
- return (ENODEV);
-
/*
* Get vnodes for swapdev and rootdev.
*/
@@ -198,8 +195,8 @@ ext2fs_mountroot()
int
ext2fs_mount(mp, path, data, ndp, p)
register struct mount *mp;
- const char *path;
- void * data;
+ char *path;
+ caddr_t data;
struct nameidata *ndp;
struct proc *p;
{