summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cache.c
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-04-22 03:44:00 +0000
committerBrian Feldman <green@FreeBSD.org>2000-04-22 03:44:00 +0000
commit8a2852b12fc59a3852063209a0a1c99d3234f0d4 (patch)
tree8d76c51a4c137441dbb79ab78846f7f00ac70fe8 /sys/kern/vfs_cache.c
parenta83b508eb44713851a89643be90b43fb8f1c43bf (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r--sys/kern/vfs_cache.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 33462b187eb3..f9d3e1361ab9 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -50,22 +50,6 @@
#include <sys/filedesc.h>
/*
- * This structure describes the elements in the cache of recent
- * names looked up by namei.
- */
-
-struct namecache {
- LIST_ENTRY(namecache) nc_hash; /* hash chain */
- LIST_ENTRY(namecache) nc_src; /* source vnode list */
- TAILQ_ENTRY(namecache) nc_dst; /* destination vnode list */
- struct vnode *nc_dvp; /* vnode of parent of name */
- struct vnode *nc_vp; /* vnode the name refers to */
- u_char nc_flag; /* flag bits */
- u_char nc_nlen; /* length of name */
- char nc_name[0]; /* segment name */
-};
-
-/*
* Name caching works as follows:
*
* Names found by directory scans are retained in a cache