diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-09-21 03:47:43 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-09-21 03:47:43 +0000 |
commit | c901836c143aeb5695c20bb3a7c28d297e5829d3 (patch) | |
tree | 1c73df5527fa425afd9acc6b6f44948163165c7b /sys/miscfs/kernfs | |
parent | 84cc2dc3328a37262a2dcd994aab6c0f479a1dc3 (diff) | |
download | src-c901836c143aeb5695c20bb3a7c28d297e5829d3.tar.gz src-c901836c143aeb5695c20bb3a7c28d297e5829d3.zip |
Implemented loadable VFS modules, and made most existing filesystems
loadable. (NFS is a notable exception.)
Notes
Notes:
svn path=/head/; revision=2946
Diffstat (limited to 'sys/miscfs/kernfs')
-rw-r--r-- | sys/miscfs/kernfs/kernfs_vfsops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/kernfs/kernfs_vnops.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vfsops.c b/sys/miscfs/kernfs/kernfs_vfsops.c index be0f7a9a2f98..56e1989ade32 100644 --- a/sys/miscfs/kernfs/kernfs_vfsops.c +++ b/sys/miscfs/kernfs/kernfs_vfsops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)kernfs_vfsops.c 8.4 (Berkeley) 1/21/94 - * $Id$ + * $Id: kernfs_vfsops.c,v 1.3 1994/08/02 07:45:02 davidg Exp $ */ /* @@ -340,3 +340,5 @@ struct vfsops kernfs_vfsops = { kernfs_vptofh, kernfs_init, }; + +VFS_SET(kernfs_vfsops, kernfs, MOUNT_KERNFS, 0); diff --git a/sys/miscfs/kernfs/kernfs_vnops.c b/sys/miscfs/kernfs/kernfs_vnops.c index b1166d1747ca..b287bb348220 100644 --- a/sys/miscfs/kernfs/kernfs_vnops.c +++ b/sys/miscfs/kernfs/kernfs_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)kernfs_vnops.c 8.6 (Berkeley) 2/10/94 - * $Id: kernfs_vnops.c,v 1.3 1994/08/02 07:45:04 davidg Exp $ + * $Id: kernfs_vnops.c,v 1.4 1994/08/18 22:35:12 wollman Exp $ */ /* @@ -775,3 +775,5 @@ struct vnodeopv_entry_desc kernfs_vnodeop_entries[] = { }; struct vnodeopv_desc kernfs_vnodeop_opv_desc = { &kernfs_vnodeop_p, kernfs_vnodeop_entries }; + +VNODEOP_SET(kernfs_vnodeop_opv_desc); |