From 4e5adb9e6f34dca3cfe762523eb52780dba72cf6 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 28 Feb 2024 22:12:44 -0500 Subject: kernel: vfs: Move mountlist_entry to vfs_cache.c Signed-off-by: Ian Moffett --- sys/kern/vfs_cache.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/kern') diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index 1e051df..7586325 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -35,6 +35,14 @@ #include #include +/* For caching */ +#define MOUNTLIST_SIZE 8 + +/* Mountlist cache entry */ +struct mountlist_entry { + TAILQ_HEAD(, mount) buckets; +}; + static struct mountlist_entry *mountlist = NULL; /* -- cgit v1.2.3