VirtualBox

Changeset 28115 in vbox for trunk


Ignore:
Timestamp:
Apr 8, 2010 9:01:25 PM (15 years ago)
Author:
vboxsync
Message:

DrvDiskIntegrity: Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvDiskIntegrity.cpp

    r28114 r28115  
    164164{
    165165    int rc = VINF_SUCCESS;
     166
     167    LogFlowFunc(("pThis=%#p paSeg=%#p cSeg=%u off=%llx cbWrite=%u\n",
     168                 pThis, paSeg, cSeg, off, cbWrite));
    166169
    167170    /* Update the segments */
     
    278281    int rc = VINF_SUCCESS;
    279282
     283    LogFlowFunc(("pThis=%#p paSeg=%#p cSeg=%u off=%llx cbRead=%u\n",
     284                 pThis, paSeg, cSeg, off, cbRead));
     285
    280286    Assert(off % 512 == 0);
    281287    Assert(cbRead % 512 == 0);
     
    523529    int rc = VINF_SUCCESS;
    524530
     531    LogFlowFunc(("pIoReq=%#p\n", pIoReq));
     532
    525533    if (pIoReq->fRead)
    526534        rc = drvdiskintReadVerify(pThis, pIoReq->paSeg, pIoReq->cSeg, pIoReq->off, pIoReq->cbTransfer);
     
    548556    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIBASE, &pDrvIns->IBase);
    549557    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIMEDIA, &pThis->IMedia);
    550     PDMIBASE_RETURN_INTERFACE(pszIID, PDMIMEDIAASYNCPORT, pThis->pDrvMediaAsync ? &pThis->IMediaAsyncPort : NULL);
     558    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIMEDIAASYNC, pThis->pDrvMediaAsync ? &pThis->IMediaAsync : NULL);
     559    PDMIBASE_RETURN_INTERFACE(pszIID, PDMIMEDIAASYNCPORT, &pThis->IMediaAsyncPort);
    551560    return NULL;
    552561}
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