VirtualBox

儲存庫 vbox 的更動 66733


忽略:
時間撮記:
2017-5-1 下午11:21:38 (8 年 以前)
作者:
vboxsync
訊息:

fatvfs.cpp: nits

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/common/fs/fatvfs.cpp

    r66710 r66733  
    14451445 *
    14461446 * @param   pObj            The structure to initialize.
    1447  * @param   pParentDir      The parent directory.
     1447 * @param   pDirEntry       The directory entry.
    14481448 * @param   offEntryInDir   The offset in the parent directory.
    14491449 * @param   pVol            The volume.
     
    15501550static DECLCALLBACK(int) rtFsFatObj_QueryInfo(void *pvThis, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttr)
    15511551{
    1552     PRTFSFATFILE pThis = (PRTFSFATFILE)pvThis;
    1553 
    1554     pObjInfo->cbObject              = pThis->Core.cbObject;
    1555     pObjInfo->cbAllocated           = pThis->Core.Clusters.cClusters * pThis->Core.pVol->cbCluster;
    1556     pObjInfo->AccessTime            = pThis->Core.AccessTime;
    1557     pObjInfo->ModificationTime      = pThis->Core.ModificationTime;
    1558     pObjInfo->ChangeTime            = pThis->Core.ModificationTime;
    1559     pObjInfo->BirthTime             = pThis->Core.BirthTime;
    1560     pObjInfo->Attr.fMode            = pThis->Core.fAttrib;
     1552    PRTFSFATOBJ pThis = (PRTFSFATOBJ)pvThis;
     1553
     1554    pObjInfo->cbObject              = pThis->cbObject;
     1555    pObjInfo->cbAllocated           = pThis->Clusters.cbChain;
     1556    pObjInfo->AccessTime            = pThis->AccessTime;
     1557    pObjInfo->ModificationTime      = pThis->ModificationTime;
     1558    pObjInfo->ChangeTime            = pThis->ModificationTime;
     1559    pObjInfo->BirthTime             = pThis->BirthTime;
     1560    pObjInfo->Attr.fMode            = pThis->fAttrib;
    15611561    pObjInfo->Attr.enmAdditional    = enmAddAttr;
    15621562
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette