Module Name: src
Committed By: dholland
Date: Mon Apr 11 02:18:20 UTC 2011
Modified Files:
src/sys/kern: vfs_lookup.c
Log Message:
description:
Update some comments.
To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/kern/vfs_lookup.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/vfs_lookup.c
diff -u src/sys/kern/vfs_lookup.c:1.165 src/sys/kern/vfs_lookup.c:1.166
--- src/sys/kern/vfs_lookup.c:1.165 Mon Apr 11 02:18:07 2011
+++ src/sys/kern/vfs_lookup.c Mon Apr 11 02:18:20 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_lookup.c,v 1.165 2011/04/11 02:18:07 dholland Exp $ */
+/* $NetBSD: vfs_lookup.c,v 1.166 2011/04/11 02:18:20 dholland Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.165 2011/04/11 02:18:07 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_lookup.c,v 1.166 2011/04/11 02:18:20 dholland Exp $");
#include "opt_magiclinks.h"
@@ -574,8 +574,8 @@
}
/*
- * Start up namei. Copy the path, find the root dir and cwd, establish
- * the starting directory for lookup, and lock it. Also calls ktrace when
+ * Start up namei. Find the root dir and cwd, establish the starting
+ * directory for lookup, and lock it. Also calls ktrace when
* appropriate.
*/
static int
@@ -961,9 +961,10 @@
}
/*
- * We return with foundobj NULL to indicate that the entry
- * doesn't currently exist, leaving a pointer to the
- * (possibly locked) directory vnode as searchdir.
+ * We return success and a NULL foundobj to indicate
+ * that the entry doesn't currently exist, leaving a
+ * pointer to the (possibly locked) directory vnode as
+ * searchdir.
*/
*foundobj_ret = NULL;
return (0);