summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,