]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-parse-ioctl-path-20070629
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:43:17 +0000 (05:43 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 30 Jun 2007 05:43:17 +0000 (05:43 +0000)
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.

src/WINNT/afsd/cm_ioctl.c

index d940effc5cd54b2c0c080931f49c47134ce26258..be54d65f42e2ee4c9e7aebdabbef18902932ac0b 100644 (file)
@@ -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);