summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_cache.c8
1 files changed, 8 insertions, 0 deletions
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 <vm/dynalloc.h>
#include <assert.h>
+/* For caching */
+#define MOUNTLIST_SIZE 8
+
+/* Mountlist cache entry */
+struct mountlist_entry {
+ TAILQ_HEAD(, mount) buckets;
+};
+
static struct mountlist_entry *mountlist = NULL;
/*