From: Jeffrey Altman Date: Sat, 30 Jun 2007 05:43:17 +0000 (+0000) Subject: windows-parse-ioctl-path-20070629 X-Git-Tag: BP-openafs-windows-kdfs-ifs~625 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=beb094fb2efaa84e99ac993a737e56379e5d3e1a;p=packages%2Fo%2Fopenafs.git windows-parse-ioctl-path-20070629 The UNIX client does not follow mount points or symlinks when evaluating ioctl paths during commands such as "fs examine". The Windows client did which was annoying when you wanted to know the FID of a mount point that was not properly being evaluated. --- diff --git a/src/WINNT/afsd/cm_ioctl.c b/src/WINNT/afsd/cm_ioctl.c index d940effc5..be54d65f4 100644 --- a/src/WINNT/afsd/cm_ioctl.c +++ b/src/WINNT/afsd/cm_ioctl.c @@ -219,7 +219,7 @@ long cm_ParseIoctlPath(smb_ioctl_t *ioctlp, cm_user_t *userp, cm_req_t *reqp, and it returns the correct (full) path. therefore, there is no drive letter, and the path is absolute. */ code = cm_NameI(cm_data.rootSCachep, relativePath, - CM_FLAG_CASEFOLD | CM_FLAG_FOLLOW, + CM_FLAG_CASEFOLD, userp, "", reqp, scpp); if (code) { @@ -313,7 +313,8 @@ long cm_ParseIoctlPath(smb_ioctl_t *ioctlp, cm_user_t *userp, cm_req_t *reqp, return code; } - code = cm_NameI(substRootp, relativePath, CM_FLAG_CASEFOLD | CM_FLAG_FOLLOW, + code = cm_NameI(substRootp, relativePath, + CM_FLAG_CASEFOLD, userp, NULL, reqp, scpp); if (code) { cm_ReleaseSCache(substRootp);