Always honor fdp->fd_nrdir as root. Once the loop reached NCF_ROOT,
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 1 Feb 2005 14:43:44 +0000 (14:43 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 1 Feb 2005 14:43:44 +0000 (14:43 +0000)
commit872b00c09a673330db239818ece5bcc822df0c18
tree99ac2245a5e210c9840b3529f0e759d51e6675e2
parent3dc627ceda7b733b5f63af19014bd1bed4f63d73
Always honor fdp->fd_nrdir as root. Once the loop reached NCF_ROOT,
fdp->fd_nrdir has to be equal to the current ncp or the original
ncp is not below fdp->fd_nrdir. In the latter case, just return "/"
as fullpath.
sys/kern/vfs_cache.c