equal
deleted
inserted
replaced
185 TBuf<0x20> clientName = _L("CACHE_MEM_CLIENT:"); |
185 TBuf<0x20> clientName = _L("CACHE_MEM_CLIENT:"); |
186 clientName.Append('A'+iFatMount->DriveNumber()); |
186 clientName.Append('A'+iFatMount->DriveNumber()); |
187 |
187 |
188 TRAPD(err, ipDirCache = CDynamicDirCache::NewL(iDrive, CacheSizeMinInPages, CacheSizeMaxInPages, PageDataSizeLog2, clientName)); |
188 TRAPD(err, ipDirCache = CDynamicDirCache::NewL(iDrive, CacheSizeMinInPages, CacheSizeMaxInPages, PageDataSizeLog2, clientName)); |
189 if (err == KErrNone) |
189 if (err == KErrNone) |
190 { |
|
191 __PRINT4(_L("CDynamicDirCache::NewL(drv:%C, minPageNum:%u, maxPageNum:%u, pageDataSize:%u)\n"), 'A'+iFatMount->DriveNumber(), CacheSizeMinInPages, CacheSizeMaxInPages, 1<<PageDataSizeLog2); |
|
192 return; |
190 return; |
193 } |
191 |
194 } |
192 //-- fall back to constructing old type of cache |
|
193 |
|
194 } |
195 #endif // USE_DP_DIR_CACHE |
195 #endif // USE_DP_DIR_CACHE |
196 |
196 |
197 //=========================== create legacy type of the directory cache |
197 //=========================== create legacy type of the directory cache |
198 ASSERT(!ipDirCache); |
198 ASSERT(!ipDirCache); |
199 |
199 |