VirtualBox

Changeset 2758 in vbox for trunk/src


Ignore:
Timestamp:
May 22, 2007 8:32:50 AM (18 years ago)
Author:
vboxsync
Message:

Don't flush the raw disk/partition extents.

File:
1 edited

Legend:

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

    r2742 r2758  
    25902590#endif /* VBOX_WITH_VMDK_ESX */
    25912591            case VMDKETYPE_FLAT:
    2592                 if (pExtent->File != NIL_RTFILE && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY))
     2592                /** @todo implement proper path absolute check. */
     2593                if (pExtent->File != NIL_RTFILE && !(pImage->uOpenFlags & VD_OPEN_FLAGS_READONLY) && !(pExtent->pszBasename[0] == RTPATH_SLASH))
    25932594                    rc = RTFileFlush(pExtent->File);
    25942595                break;
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