Windows: do not lower case direct volume references
[openafs.git] / src / WINNT / afsrdr / user / RDRFunction.c
index 51c0496..9ae6d0a 100644 (file)
@@ -118,11 +118,6 @@ RDR_SetInitParams( OUT AFSRedirectorInitInfo **ppRedirInitInfo, OUT DWORD * pRed
     MEMORYSTATUSEX memStatus;
     DWORD maxMemoryCacheSize;
 
-#if 0
-    /*
-     * For now disable the memory extent interface because there
-     * have been reports of data corruption.
-     */
     memStatus.dwLength = sizeof(memStatus);
     if (GlobalMemoryStatusEx(&memStatus)) {
         /*
@@ -141,9 +136,6 @@ RDR_SetInitParams( OUT AFSRedirectorInitInfo **ppRedirInitInfo, OUT DWORD * pRed
          */
         maxMemoryCacheSize = 65536;
     }
-#else
-    maxMemoryCacheSize = 0;
-#endif
 
     *pRedirInitInfoLen = (DWORD) (sizeof(AFSRedirectorInitInfo) + (cm_CachePathLen + TempPathLen) * sizeof(WCHAR));
     *ppRedirInitInfo = (AFSRedirectorInitInfo *)malloc(*pRedirInitInfoLen);
@@ -1074,7 +1066,6 @@ RDR_EvaluateNodeByName( IN cm_user_t *userp,
          */
         StringCchCopyNW(wszName, cbName, _C(CM_PREFIX_VOL), CM_PREFIX_VOL_CCH);
         StringCbCatNW(wszName, cbName, FileName, FileNameLength);
-        cm_strlwr_utf16(wszName);
         bVol = TRUE;
 
         code = cm_EvaluateVolumeReference(wszName, CM_FLAG_CHECKPATH, userp, &req, &scp);