VirtualBox

Changeset 92226 in vbox


Ignore:
Timestamp:
Nov 4, 2021 9:31:31 PM (3 years ago)
Author:
vboxsync
Message:

Devices/DrvHostBase.cpp: Mark drives as locked only if it actually supports locking (host floppies don't).

File:
1 edited

Legend:

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

    r91897 r92226  
    859859    {
    860860        if (pThis->pfnDoLock)
     861        {
    861862            rc = pThis->pfnDoLock(pThis, true);
    862         if (RT_SUCCESS(rc))
    863             pThis->fLocked = true;
     863            if (RT_SUCCESS(rc))
     864                pThis->fLocked = true;
     865        }
    864866    }
    865867    else
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