Changeset 38886 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Sep 27, 2011 10:03:22 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFile.cpp
r38883 r38886 1230 1230 1231 1231 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); 1243 1235 STAM_PROFILE_ADV_STOP(&pEpFile->StatRead, Read); 1244 1236
Note:
See TracChangeset
for help on using the changeset viewer.