diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-21 03:47:43 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-21 03:47:43 +0000 |
commit | c289ac89a1707f8e0720ce4e9225ce1ebd9e122b (patch) | |
tree | 1c73df5527fa425afd9acc6b6f44948163165c7b /sys/fs/fdescfs | |
parent | 3ba6929687399003ec8c92ed71c166eb83f2c7bb (diff) | |
download | FreeBSD-src-c289ac89a1707f8e0720ce4e9225ce1ebd9e122b.zip FreeBSD-src-c289ac89a1707f8e0720ce4e9225ce1ebd9e122b.tar.gz |
Implemented loadable VFS modules, and made most existing filesystems
loadable. (NFS is a notable exception.)
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 5 | ||||
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index 80c543d..d82f14d 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94 * - * $Id: fdesc_vfsops.c,v 1.9 1993/04/06 15:28:33 jsp Exp $ + * $Id: fdesc_vfsops.c,v 1.1.1.1 1994/05/24 10:04:59 rgrimes Exp $ */ /* @@ -44,6 +44,7 @@ #include <sys/param.h> #include <sys/systm.h> +#include <sys/kernel.h> #include <sys/time.h> #include <sys/types.h> #include <sys/proc.h> @@ -286,3 +287,5 @@ struct vfsops fdesc_vfsops = { fdesc_vptofh, fdesc_init, }; + +VFS_SET(fdesc_vfsops, fdesc, MOUNT_FDESC, 0); diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 27e6d6f..b88f308 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94 * - * $Id: fdesc_vnops.c,v 1.3 1994/09/09 13:23:20 davidg Exp $ + * $Id: fdesc_vnops.c,v 1.4 1994/09/09 13:24:26 davidg Exp $ */ /* @@ -975,3 +975,5 @@ struct vnodeopv_entry_desc fdesc_vnodeop_entries[] = { }; struct vnodeopv_desc fdesc_vnodeop_opv_desc = { &fdesc_vnodeop_p, fdesc_vnodeop_entries }; + +VNODEOP_SET(fdesc_vnodeop_opv_desc); |