VirtualBox

Changeset 20416 in vbox for trunk/src


Ignore:
Timestamp:
Jun 8, 2009 8:19:00 PM (16 years ago)
Author:
vboxsync
Message:

VHD: Fix cloning (public #4080)

File:
1 edited

Legend:

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

    r19824 r20416  
    10661066                *pcbPreRead = cBATEntryIndex * VHD_SECTOR_SIZE;
    10671067                *pcbPostRead = pImage->cSectorsPerDataBlock * VHD_SECTOR_SIZE - cbToWrite - *pcbPreRead;
     1068
     1069                if (pcbWriteProcess)
     1070                    *pcbWriteProcess = cbToWrite;
    10681071                return VERR_VD_BLOCK_FREE;
    10691072            }
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