Changeset 19251 in vbox for trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp
- Timestamp:
- Apr 29, 2009 9:40:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VDIHDDCore.cpp
r19202 r19251 1905 1905 * compacting the image, just to be on the safe side. Update the 1906 1906 * image contents straight away, as this enables cancelling. */ 1907 for (unsigned i = 0; i < cBlocks ; i++)1907 for (unsigned i = 0; i < cBlocksAllocated; i++) 1908 1908 paBlocks2[i] = VDI_IMAGE_BLOCK_FREE; 1909 1909 rc = VINF_SUCCESS; … … 1931 1931 LogFunc(("Freed out of bounds reference for block %u in file \"%s\"\n", 1932 1932 i, pImage->pszFilename)); 1933 pImage->paBlocks[i] = VDI_IMAGE_BLOCK_FREE; ;1933 pImage->paBlocks[i] = VDI_IMAGE_BLOCK_FREE; 1934 1934 rc = vdiUpdateBlockInfo(pImage, i); 1935 1935 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.