4.4BSD-Lite2 icon indicating copy to clipboard operation
4.4BSD-Lite2 copied to clipboard

Why are you not releasing the vnode of the starting directory when returning from namei()?

Open eeropomell opened this issue 2 years ago • 0 comments

https://github.com/sergev/4.4BSD-Lite2/blob/50587b00e922225c62f1706266587f435898126d/usr/src/sys/kern/vfs_lookup.c#L153

If the result of lookup() is a not a symbolic link, you return instantly, so you don't release the vnode of the starting directory

eeropomell avatar Sep 23 '22 20:09 eeropomell