VirtualBox

Changeset 27921 in vbox


Ignore:
Timestamp:
Mar 31, 2010 7:24:05 PM (15 years ago)
Author:
vboxsync
Message:

Reset status code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileCache.cpp

    r27920 r27921  
    17231723
    17241724    pTask->cbTransferLeft = cbRead;
     1725    pTask->rc             = VINF_SUCCESS;
    17251726    /* Set to completed to make sure that the task is valid while we access it. */
    17261727    ASMAtomicWriteBool(&pTask->fCompleted, true);
     
    19561957
    19571958    pTask->cbTransferLeft = cbWrite;
     1959    pTask->rc             = VINF_SUCCESS;
    19581960    /* Set to completed to make sure that the task is valid while we access it. */
    19591961    ASMAtomicWriteBool(&pTask->fCompleted, true);
     
    21962198                 pEndpoint, pEndpoint->Core.pszUri, pTask));
    21972199
     2200    pTask->rc = VINF_SUCCESS;
     2201
    21982202    if (ASMAtomicReadPtr((void * volatile *)&pEndpoint->DataCache.pTaskFlush))
    21992203        rc = VERR_RESOURCE_BUSY;
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