Don't vfs_opv_init_*(); this is properly handed by vfs_attach().
This commit is contained in:
parent
9a3b52d482
commit
19024ae2fb
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.1 1997/07/08 16:44:49 veego Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.2 1998/02/18 07:18:21 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops adosfs_vfsops;
|
extern struct vfsops adosfs_vfsops;
|
||||||
extern struct vnodeopv_desc adosfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ adosfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&adosfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&adosfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:32 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:21 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops cd9660_vfsops;
|
extern struct vfsops cd9660_vfsops;
|
||||||
extern struct vnodeopv_desc cd9660_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ cd9660_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&cd9660_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&cd9660_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:33 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:21 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops fdesc_vfsops;
|
extern struct vfsops fdesc_vfsops;
|
||||||
extern struct vnodeopv_desc fdesc_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ fdesc_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&fdesc_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&fdesc_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:34 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops kernfs_vfsops;
|
extern struct vfsops kernfs_vfsops;
|
||||||
extern struct vnodeopv_desc kernfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ kernfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&kernfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&kernfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.3 1997/10/21 16:16:02 is Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.4 1998/02/18 07:18:22 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops nullfs_vfsops;
|
extern struct vfsops nullfs_vfsops;
|
||||||
extern struct vnodeopv_desc nullfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ nullfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&nullfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&nullfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:37 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops portal_vfsops;
|
extern struct vfsops portal_vfsops;
|
||||||
extern struct vnodeopv_desc portal_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ portal_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&portal_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&portal_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:38 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops procfs_vfsops;
|
extern struct vfsops procfs_vfsops;
|
||||||
extern struct vnodeopv_desc procfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ procfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&procfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&procfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.3 1997/10/21 16:16:23 is Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.4 1998/02/18 07:18:22 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops umapfs_vfsops;
|
extern struct vfsops umapfs_vfsops;
|
||||||
extern struct vnodeopv_desc umapfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ umapfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&umapfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&umapfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:41 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:22 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops union_vfsops;
|
extern struct vfsops union_vfsops;
|
||||||
extern struct vnodeopv_desc union_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ union_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&union_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&union_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:42 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops msdosfs_vfsops;
|
extern struct vfsops msdosfs_vfsops;
|
||||||
extern struct vnodeopv_desc msdosfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ msdosfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&msdosfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&msdosfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:43 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops ffs_vfsops;
|
extern struct vfsops ffs_vfsops;
|
||||||
extern struct vnodeopv_desc ffs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ ffs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&ffs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&ffs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_lfs.c,v 1.2 1997/05/19 23:26:44 jtc Exp $ */
|
/* $NetBSD: lkminit_lfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops lfs_vfsops;
|
extern struct vfsops lfs_vfsops;
|
||||||
extern struct vnodeopv_desc lfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ lfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&lfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&lfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: lkminit_vfs.c,v 1.2 1997/05/19 23:26:45 jtc Exp $ */
|
/* $NetBSD: lkminit_vfs.c,v 1.3 1998/02/18 07:18:23 thorpej Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||||
@ -50,7 +50,6 @@
|
|||||||
* This is the vfsops table for the file system in question
|
* This is the vfsops table for the file system in question
|
||||||
*/
|
*/
|
||||||
extern struct vfsops mfs_vfsops;
|
extern struct vfsops mfs_vfsops;
|
||||||
extern struct vnodeopv_desc mfs_vnodeop_opv_desc;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* declare the filesystem
|
* declare the filesystem
|
||||||
@ -66,13 +65,6 @@ mfs_lkmentry(lkmtp, cmd, ver)
|
|||||||
int cmd;
|
int cmd;
|
||||||
int ver;
|
int ver;
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* This is normally done automatically at boot time if the
|
|
||||||
* opv_desc is listed in vfs_opv_descs[] in vfs_conf.c. For
|
|
||||||
* loaded modules, we have to do it manually.
|
|
||||||
*/
|
|
||||||
vfs_opv_init_explicit(&mfs_vnodeop_opv_desc);
|
|
||||||
vfs_opv_init_default(&mfs_vnodeop_opv_desc);
|
|
||||||
|
|
||||||
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
DISPATCH(lkmtp, cmd, ver, lkm_nofunc, lkm_nofunc, lkm_nofunc)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user