Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Omit vestigial comment.



details:   https://anonhg.NetBSD.org/src/rev/a743d728730a
branches:  trunk
changeset: 822404:a743d728730a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Mar 18 19:59:20 2017 +0000

description:
Omit vestigial comment.

- We have not dropped the cache entry on vget failure since 2008.
- We have not had `generation numbers' since 2001.

diffstat:

 sys/kern/vfs_cache.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r e78a30a5c60a -r a743d728730a sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c      Sat Mar 18 19:43:46 2017 +0000
+++ b/sys/kern/vfs_cache.c      Sat Mar 18 19:59:20 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_cache.c,v 1.113 2017/03/18 19:43:31 riastradh Exp $        */
+/*     $NetBSD: vfs_cache.c,v 1.114 2017/03/18 19:59:20 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.113 2017/03/18 19:43:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.114 2017/03/18 19:59:20 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -100,9 +100,6 @@
  * Upon reaching the last segment of a path, if the reference
  * is for DELETE, or NOCACHE is set (rewrite), and the
  * name is located in the cache, it will be dropped.
- * The entry is dropped also when it was not possible to lock
- * the cached vnode, either because vcache_tryvget() failed or
- * the generation number has changed while waiting for the lock.
  */
 
 /*



Home | Main Index | Thread Index | Old Index