summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordownsj <downsj@openbsd.org>1996-06-27 08:14:25 +0000
committerdownsj <downsj@openbsd.org>1996-06-27 08:14:25 +0000
commit5a85d9976fe3a7bb70e14b276bc2afbfd1665536 (patch)
tree222f9b784695342265476fbf5fecd8e43b6dfaf1
parentAdd mount_ext2fs; stripped down mount_ffs and the man page from FreeBSD. (diff)
downloadwireguard-openbsd-5a85d9976fe3a7bb70e14b276bc2afbfd1665536.tar.xz
wireguard-openbsd-5a85d9976fe3a7bb70e14b276bc2afbfd1665536.zip
Add ext2fs to the vfssw
-rw-r--r--sys/kern/vfs_conf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index ff0f0e19f9d..ad18de92f78 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -109,6 +109,10 @@ extern struct vfsops union_vfsops;
extern struct vfsops adosfs_vfsops;
#endif
+#ifdef EXT2FS
+extern struct vfsops ext2fs_vfsops;
+#endif
+
/*
* XXX ORDERING MATTERS, for COMPAT_09. when that goes away,
* empty slots can go away.
@@ -191,6 +195,11 @@ struct vfsops *vfssw[] = {
#else
NULL,
#endif
+#ifdef EXT2FS
+ &ext2fs_vfsops, /* 17 = MOUNT_EXT2FS */
+#else
+ NULL,
+#endif
#ifdef LKM /* for LKM's. add new FS's before these */
NULL,
NULL,