From c289ac89a1707f8e0720ce4e9225ce1ebd9e122b Mon Sep 17 00:00:00 2001 From: wollman Date: Wed, 21 Sep 1994 03:47:43 +0000 Subject: Implemented loadable VFS modules, and made most existing filesystems loadable. (NFS is a notable exception.) --- sys/fs/fdescfs/fdesc_vfsops.c | 5 ++++- sys/fs/fdescfs/fdesc_vnops.c | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'sys/fs/fdescfs') 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 #include +#include #include #include #include @@ -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); -- cgit v1.1