summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index bcda0dd..8decace 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -61,7 +61,7 @@ vfs_init(void)
struct fs_info *info;
struct vfsops *vfsops;
- vfs_init_cache();
+ vfs_mount_init();
for (int i = 0; i < __ARRAY_COUNT(filesystems); ++i) {
info = &filesystems[i];
@@ -69,10 +69,5 @@ vfs_init(void)
__assert(vfsops->init != NULL);
vfsops->init(info);
-
- if (strcmp(info->name, "initramfs") == 0) {
- /* Initramfs must be mounted */
- vfs_mount(&info->mp_root, "/ramdisk", MNT_RDONLY);
- }
}
}