diff options
author | kn <kn@cvs.openbsd.org> | 2018-06-04 19:42:55 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2018-06-04 19:42:55 +0000 |
commit | 6fc3d0ef8ac74074f0c89fac977998396400a3a3 (patch) | |
tree | 7f18972ae60c63f259ac2fe71f764327b2a29f1b /sys | |
parent | fb977e3d8d7d6929b8e5f0b472ccafbed4133a7d (diff) |
Sync VFS documentation with reality
Missed during the "Namecache revamp" in 2009.
Reported by Georg Bege <georg at bege dot email>, thanks.
OK visa jmc mpi jca
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_cache.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index f3c3996f332..28744745fed 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_cache.c,v 1.56 2018/05/27 06:02:14 visa Exp $ */ +/* $OpenBSD: vfs_cache.c,v 1.57 2018/06/04 19:42:54 kn Exp $ */ /* $NetBSD: vfs_cache.c,v 1.13 1996/02/04 02:18:09 christos Exp $ */ /* @@ -128,9 +128,7 @@ cache_zap(struct namecache *ncp) } /* - * Look for a name in the cache. We don't do this if the segment name is - * long, simply so the cache can avoid holding long names (which would - * either waste space, or add greatly to the complexity). + * Look for a name in the cache. * dvp points to the directory to search. The componentname cnp holds * the information on the entry being sought, such as its length * and its name. If the lookup succeeds, vpp is set to point to the vnode |