From: Rafael Sadowski Subject: namei operates on vnode not inode To: tech@openbsd.org Date: Sat, 7 Jun 2025 17:34:47 +0200 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); }