Download raw body.
namei operates on vnode not inode
OK?
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
index 88b491bc564..76413de2362 100644
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -602,7 +602,7 @@ dirloop:
/*
* We return with ni_vp NULL to indicate that the entry
* doesn't currently exist, leaving a pointer to the
- * (possibly locked) directory inode in ndp->ni_dvp.
+ * (possibly locked) directory vnode in ndp->ni_dvp.
*/
if (cnp->cn_flags & SAVESTART) {
ndp->ni_startdir = ndp->ni_dvp;
@@ -805,7 +805,7 @@ vfs_relookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp)
/*
* We return with ni_vp NULL to indicate that the entry
* doesn't currently exist, leaving a pointer to the
- * (possibly locked) directory inode in ndp->ni_dvp.
+ * (possibly locked) directory vnode in ndp->ni_dvp.
*/
return (0);
}
namei operates on vnode not inode