VirtualBox

Changeset 78366 in vbox for trunk


Ignore:
Timestamp:
May 2, 2019 9:56:23 PM (6 years ago)
Author:
vboxsync
Message:

winnt/vboxsf: Removed FileBasicInfo from MRX_VBOX_FOBX as it was only used for logging attributes during file creation/opening. bugref:9172

Location:
trunk/src/VBox/Additions/WINNT/SharedFolders/driver
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/info.cpp

    r78365 r78366  
    11001100    }
    11011101    pVBoxFobX->Info = *pObjInfo;
    1102 
    1103     /*
    1104      * Try eliminate this one.
    1105      */
    1106     vbsfNtBasicInfoFromVBoxObjInfo(&pVBoxFobX->FileBasicInfo, pObjInfo);
    11071102}
    11081103
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/path.cpp

    r78365 r78366  
    600600    pVBoxFobx->pSrvCall = RxContext->Create.pSrvCall;
    601601    pVBoxFobx->Info = Info;
    602     vbsfNtBasicInfoFromVBoxObjInfo(&pVBoxFobx->FileBasicInfo, &Info);
    603     Log(("VBOXSF: MRxCreate: FileBasicInformation: CreationTime   %RX64\n", pVBoxFobx->FileBasicInfo.CreationTime.QuadPart));
    604     Log(("VBOXSF: MRxCreate: FileBasicInformation: LastAccessTime %RX64\n", pVBoxFobx->FileBasicInfo.LastAccessTime.QuadPart));
    605     Log(("VBOXSF: MRxCreate: FileBasicInformation: LastWriteTime  %RX64\n", pVBoxFobx->FileBasicInfo.LastWriteTime.QuadPart));
    606     Log(("VBOXSF: MRxCreate: FileBasicInformation: ChangeTime     %RX64\n", pVBoxFobx->FileBasicInfo.ChangeTime.QuadPart));
    607     Log(("VBOXSF: MRxCreate: FileBasicInformation: FileAttributes %RX32\n", pVBoxFobx->FileBasicInfo.FileAttributes));
     602    Log(("VBOXSF: MRxCreate: Info: BirthTime        %RI64\n", RTTimeSpecGetNano(&pVBoxFobx->Info.BirthTime)));
     603    Log(("VBOXSF: MRxCreate: Info: ChangeTime       %RI64\n", RTTimeSpecGetNano(&pVBoxFobx->Info.ChangeTime)));
     604    Log(("VBOXSF: MRxCreate: Info: ModificationTime %RI64\n", RTTimeSpecGetNano(&pVBoxFobx->Info.ModificationTime)));
     605    Log(("VBOXSF: MRxCreate: Info: AccessTime       %RI64\n", RTTimeSpecGetNano(&pVBoxFobx->Info.AccessTime)));
     606    Log(("VBOXSF: MRxCreate: Info: fMode            %#RX32\n", pVBoxFobx->Info.Attr.fMode));
    608607    if (!(Info.Attr.fMode & RTFS_DOS_DIRECTORY))
    609         Log(("VBOXSF: MRxCreate: AllocationSize = %#RX64, EndOfFile = %#RX64\n",
    610              Info.cbAllocated, Info.cbObject));
     608    {
     609        Log(("VBOXSF: MRxCreate: Info: cbObject         %#RX64\n", pVBoxFobx->Info.cbObject));
     610        Log(("VBOXSF: MRxCreate: Info: cbAllocated      %#RX64\n", pVBoxFobx->Info.cbAllocated));
     611    }
    611612
    612613    if (!RxIsFcbAcquiredExclusive(capFcb))
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.h

    r78365 r78366  
    148148     * @todo Consider moving it to VBSFNTFCBEXT.  Better fit than on "handle". */
    149149    SHFLFSOBJINFO               Info;
    150     /** NT version of Info.
    151      * @todo try eliminate  */
    152     FILE_BASIC_INFORMATION      FileBasicInfo;
    153150
    154151    /** VBOX_FOBX_F_INFO_XXX of timestamps which may need setting on close. */
Note: See TracChangeset for help on using the changeset viewer.

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