Changeset 38881 in vbox for trunk/src/VBox
- Timestamp:
- Sep 27, 2011 9:28:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFile.cpp
r37597 r38881 1231 1231 STAM_PROFILE_ADV_START(&pEpFile->StatRead, Read); 1232 1232 1233 pdmacFileEpTaskInit(pTask, cbRead); 1234 1235 rc = pdmacFileEpTaskInitiate(pTask, pEndpoint, off, paSegments, cSegments, cbRead, 1236 PDMACTASKFILETRANSFER_READ); 1233 if (RT_LIKELY(off + cbRead <= 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; 1237 1242 1238 1243 STAM_PROFILE_ADV_STOP(&pEpFile->StatRead, Read);
Note:
See TracChangeset
for help on using the changeset viewer.