VirtualBox

Changeset 38886 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Sep 27, 2011 10:03:22 AM (13 years ago)
Author:
vboxsync
Message:

Back out r74203 again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFile.cpp

    r38883 r38886  
    12301230
    12311231    STAM_PROFILE_ADV_START(&pEpFile->StatRead, Read);
    1232 
    1233     if (RT_LIKELY(off + cbRead <= (RTFOFF)pEpFile->cbFile))
    1234     {
    1235         pdmacFileEpTaskInit(pTask, cbRead);
    1236 
    1237         rc = pdmacFileEpTaskInitiate(pTask, pEndpoint, off, paSegments, cSegments, cbRead,
    1238                                      PDMACTASKFILETRANSFER_READ);
    1239     }
    1240     else
    1241         rc = VERR_EOF;
    1242 
     1232    pdmacFileEpTaskInit(pTask, cbRead);
     1233    rc = pdmacFileEpTaskInitiate(pTask, pEndpoint, off, paSegments, cSegments, cbRead,
     1234                                 PDMACTASKFILETRANSFER_READ);
    12431235    STAM_PROFILE_ADV_STOP(&pEpFile->StatRead, Read);
    12441236
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