From: Jeffrey Altman Date: Thu, 24 Jan 2008 15:20:46 +0000 (+0000) Subject: DEVEL15-windows-symlink-dot-dot-20080124 X-Git-Tag: openafs-devel-1_5_31~71 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7f846c3396d69d78cf83ee3415db3df1392b70a9;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-symlink-dot-dot-20080124 LICENSE MIT when moving up in the directory tree we search the recorded fid list to find a matching fid that we have already crossed. we must also reset the fid count based upon what we discover. (cherry picked from commit 16a90b2f8dfe875991bca0dee516c531fcc3aeee) --- diff --git a/src/WINNT/afsd/cm_vnodeops.c b/src/WINNT/afsd/cm_vnodeops.c index 38e3034d8..7bc7c565d 100644 --- a/src/WINNT/afsd/cm_vnodeops.c +++ b/src/WINNT/afsd/cm_vnodeops.c @@ -1939,6 +1939,7 @@ long cm_NameI(cm_scache_t *rootSCachep, char *pathp, long flags, if (!cm_FidCmp(&nscp->fid, &fids[i])) break; } + fid_count = i+1; } else { /* add the new fid to the list */ for ( i=0; i