summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-06-27 08:14:26 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-06-27 08:14:26 +0000
commitbd7a4658fbe5342b548c6d9b4942dba12d206829 (patch)
tree3026ed6f932e9b9499552b829c2b936f27c7e773 /sys
parent74cf4a63f9a210a5c452859b340caac3238cb39c (diff)
Add ext2fs to the vfssw
Diffstat (limited to 'sys')
-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,