summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_lookup.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2009-05-29 09:52:13 +0000
committerdes <des@FreeBSD.org>2009-05-29 09:52:13 +0000
commit0df4f0c59f01f29867e702b44590ed627943dba5 (patch)
treec0910f9932c62c8ce2791f02763be20fcb4af22c /sys/kern/vfs_lookup.c
parente29b09f9c2a060740fc04d2d91e3b8002d4fdeb1 (diff)
downloadFreeBSD-src-0df4f0c59f01f29867e702b44590ed627943dba5.zip
FreeBSD-src-0df4f0c59f01f29867e702b44590ed627943dba5.tar.gz
Fix misleading comment.
MFC after: 1 week
Diffstat (limited to 'sys/kern/vfs_lookup.c')
-rw-r--r--sys/kern/vfs_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
index 4a520e9..98f4274 100644
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -268,7 +268,7 @@ namei(struct nameidata *ndp)
vfslocked = (ndp->ni_cnd.cn_flags & GIANTHELD) != 0;
ndp->ni_cnd.cn_flags &= ~GIANTHELD;
/*
- * Check for symbolic link
+ * If not a symbolic link, we're done.
*/
if ((cnp->cn_flags & ISSYMLINK) == 0) {
if ((cnp->cn_flags & (SAVENAME | SAVESTART)) == 0) {
OpenPOWER on IntegriCloud