Ignore:
Timestamp:
Sep 2, 2016, 6:42:50 PM (9 years ago)
Author:
bird
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/kFsCache.c

    r2863 r2864  
    14541454    KFSLOOKUPERROR enmIgnored;
    14551455    if (   pDir->fPopulated
     1456        && !pDir->fNeedRePopulating
    14561457        && (   pDir->Obj.uCacheGen == KFSOBJ_CACHE_GEN_IGNORE
    14571458            || pDir->Obj.uCacheGen == pCache->uGeneration) )
     
    15331534             * just as well update the parent directory...
    15341535             */
    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 */
    15391547        }
    15401548    }
Note: See TracChangeset for help on using the changeset viewer.