aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_init.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-11-13 21:45:04 -0500
committerIan Moffett <ian@osmora.org>2024-11-13 21:47:04 -0500
commit140972727f77ae91085be934ca5376a66676a7c9 (patch)
tree4a9d1b041d00b68008cdfdf1b4b96fa50cdd3626 /sys/kern/vfs_init.c
parentbb2210b76c8757cb4263c881a350f2b7921a67ff (diff)
kernel: vfs: Add vnode cache implementation
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r--sys/kern/vfs_init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index ab18d09..e563df0 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -56,6 +56,9 @@ vfs_init(void)
vfsops->init(fs);
}
}
+
+ /* Use global vcache by default */
+ vfs_vcache_migrate(VCACHE_TYPE_GLOBAL);
}
struct fs_info *