VirtualBox

Changeset 29244 in vbox


Ignore:
Timestamp:
May 8, 2010 9:16:00 PM (15 years ago)
Author:
vboxsync
Message:

VBoxHDD: Fix

File:
1 edited

Legend:

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

    r29240 r29244  
    792792    else if (RT_SUCCESS(rc))
    793793        rc = VERR_VD_ASYNC_IO_IN_PROGRESS;
    794     else
     794    else if (RT_FAILURE(rc) && (rc != VERR_VD_ASYNC_IO_IN_PROGRESS))
    795795    {
    796796        ASMAtomicCmpXchgS32(&pIoCtx->rcReq, rc, VINF_SUCCESS);
     
    802802            && !pIoCtx->cDataTransfersPending)
    803803            rc = VINF_VD_ASYNC_IO_FINISHED;
     804        else
     805            rc = VERR_VD_ASYNC_IO_IN_PROGRESS;
    804806    }
    805807
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