Changeset 2864 for trunk/src/lib/nt/kFsCache.c
- Timestamp:
- Sep 2, 2016, 6:42:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/nt/kFsCache.c
r2863 r2864 1454 1454 KFSLOOKUPERROR enmIgnored; 1455 1455 if ( pDir->fPopulated 1456 && !pDir->fNeedRePopulating 1456 1457 && ( pDir->Obj.uCacheGen == KFSOBJ_CACHE_GEN_IGNORE 1457 1458 || pDir->Obj.uCacheGen == pCache->uGeneration) ) … … 1533 1534 * just as well update the parent directory... 1534 1535 */ 1535 KFSCACHE_LOG(("Birth of %s/%s with attribs %#x...\n", 1536 pMissing->pParent->Obj.pszName, pMissing->pszName, BasicInfo.FileAttributes)); 1537 /** @todo */ 1538 __debugbreak(); 1536 KU8 const bObjType = BasicInfo.FileAttributes & FILE_ATTRIBUTE_DIRECTORY ? KFSOBJ_TYPE_DIR 1537 : BasicInfo.FileAttributes & (FILE_ATTRIBUTE_DEVICE | FILE_ATTRIBUTE_REPARSE_POINT) 1538 ? KFSOBJ_TYPE_OTHER : KFSOBJ_TYPE_FILE; 1539 1540 KFSCACHE_LOG(("Birth of %s/%s as %d with attribs %#x...\n", 1541 pMissing->pParent->Obj.pszName, pMissing->pszName, bObjType, BasicInfo.FileAttributes)); 1542 pMissing->bObjType = bObjType; 1543 pMissing->uCacheGen = pCache->uGenerationMissing; 1544 /** 1545 * @todo refresh missing object names when it appears. 1546 */ 1539 1547 } 1540 1548 }
Note:
See TracChangeset
for help on using the changeset viewer.