VirtualBox

Changeset 54743 in vbox


Ignore:
Timestamp:
Mar 13, 2015 2:46:11 PM (10 years ago)
Author:
vboxsync
Message:

VD: Don't set an error when creating the filter failed, appropriate error should be set by the caller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VD.cpp

    r54624 r54743  
    67806780        rc = pFilter->pBackend->pfnCreate(pDisk->pVDIfsDisk, pFilter->pVDIfsFilter,
    67816781                                          &pFilter->pvBackendData);
    6782 
    6783         /* If the open in read-write mode failed, retry in read-only mode. */
    67846782        if (RT_FAILURE(rc))
    6785         {
    6786             rc = vdError(pDisk, rc, RT_SRC_POS,
    6787                          N_("VD: error %Rrc creating filter '%s'"), rc, pszFilter);
    67886783            break;
    6789         }
    67906784
    67916785        /* Lock disk for writing, as we modify pDisk information below. */
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