CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2021/07/03 11:51:59

Modified files:
        sys/kern       : vfs_syscalls.c 

Log message:
__realpath: removes LOCKLEAF from NDINIT.

The code doesn't doesn't need it: the returned vnode is released
immediately. The string path is built from the namei() call using
REALPATH, during directories traversal.

Without LOCKLEAF, calling vrele() only is enough if namei() found a
file, instead of calling VOP_UNLOCK() + vrele().

ok claudio@ mpi@

Reply via email to