diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-08-30 17:11:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-08-30 17:11:37 +0000 |
commit | 0daf11ef5233ba6895d19962175457db1e9c6366 (patch) | |
tree | 96a0d1ab7b1320447037fe2350358155972b9ff1 /sys/kern | |
parent | eb15cb5d23b1c81b350462d252c774b0a32dd233 (diff) |
glue for xfs
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_conf.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index cd1a77caba1..502d885b904 100644 --- a/sys/kern/vfs_conf.c +++ b/sys/kern/vfs_conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_conf.c,v 1.11 1997/12/26 22:33:01 csapuntz Exp $ */ +/* $OpenBSD: vfs_conf.c,v 1.12 1998/08/30 17:11:36 art Exp $ */ /* $NetBSD: vfs_conf.c,v 1.21.4.1 1995/11/01 00:06:26 jtc Exp $ */ /* @@ -59,6 +59,10 @@ #include <ufs/mfs/mfs_extern.h> #endif +#ifdef XFS +#include <xfs/xfs_extern.h> +#endif + #ifdef NFSCLIENT #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> @@ -143,6 +147,10 @@ extern struct vfsops adosfs_vfsops; extern struct vfsops ext2fs_vfsops; #endif +#ifdef XFS +extern struct vfsops xfs_vfsops; +#endif + /* * Set up the filesystem operations for vnodes. */ @@ -191,6 +199,11 @@ static struct vfsconf vfsconflist[] = { { &afs_vfsops, MOUNT_AFS, 13, 0, 0, afs_mountroot, NULL }, #endif + /* XFS */ +#ifdef XFS + { &xfs_vfsops, MOUNT_XFS, 21, 0, 0, NULL, NULL }, +#endif + /* /proc Filesystem */ #ifdef PROCFS { &procfs_vfsops, MOUNT_PROCFS, 12, 0, 0, NULL, NULL }, @@ -271,6 +284,7 @@ extern struct vnodeopv_desc adosfs_vnodeop_opv_desc; extern struct vnodeopv_desc ext2fs_vnodeop_opv_desc; extern struct vnodeopv_desc ext2fs_specop_opv_desc; extern struct vnodeopv_desc ext2fs_fifoop_opv_desc; +extern struct vnodeopv_desc xfs_vnodeop_opv_desc; struct vnodeopv_desc *vfs_opv_descs[] = { &sync_vnodeop_opv_desc, @@ -344,5 +358,8 @@ struct vnodeopv_desc *vfs_opv_descs[] = { &ext2fs_fifoop_opv_desc, #endif #endif +#ifdef XFS + &xfs_vnodeop_opv_desc, +#endif NULL }; |