Sat Jan 3 04:38:07 2009 UTC ()
Clarify a comment


(dholland)
diff -r1.35 -r1.36 src/sys/miscfs/genfs/layer_vnops.c

cvs diff -r1.35 -r1.36 src/sys/miscfs/genfs/layer_vnops.c (expand / switch to context diff)
--- src/sys/miscfs/genfs/layer_vnops.c 2008/01/30 09:50:23 1.35
+++ src/sys/miscfs/genfs/layer_vnops.c 2009/01/03 04:38:07 1.36
@@ -1,4 +1,4 @@
-/*	$NetBSD: layer_vnops.c,v 1.35 2008/01/30 09:50:23 ad Exp $	*/
+/*	$NetBSD: layer_vnops.c,v 1.36 2009/01/03 04:38:07 dholland Exp $	*/
 
 /*
  * Copyright (c) 1999 National Aeronautics & Space Administration
@@ -232,7 +232,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: layer_vnops.c,v 1.35 2008/01/30 09:50:23 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: layer_vnops.c,v 1.36 2009/01/03 04:38:07 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -458,8 +458,9 @@
 	if (ldvp == lvp) {
 
 		/*
-		 * Did lookup on "." or ".." in the root node of a mount point.
-		 * So we return dvp after a VREF.
+		 * Got the same object back, because we looked up ".",
+		 * or ".." in the root node of a mount point.
+		 * So we make another reference to dvp and return it.
 		 */
 		VREF(dvp);
 		*ap->a_vpp = dvp;