- Timestamp:
- Dec 15, 2012 4:03:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VHD.cpp
r43787 r44139 2484 2484 pImage->uCurrentEndOfFile, 2485 2485 pExpand->au8Bitmap, 2486 pImage->c bDataBlockBitmap, pIoCtx,2486 pImage->cDataBlockBitmapSectors * VHD_SECTOR_SIZE, pIoCtx, 2487 2487 vhdAsyncExpansionDataBlockBitmapComplete, 2488 2488 pExpand); … … 2505 2505 */ 2506 2506 rc = vdIfIoIntFileWriteUserAsync(pImage->pIfIo, pImage->pStorage, 2507 pImage->uCurrentEndOfFile + pImage->c bDataBlockBitmap,2507 pImage->uCurrentEndOfFile + pImage->cDataBlockBitmapSectors * VHD_SECTOR_SIZE, 2508 2508 pIoCtx, cbWrite, 2509 2509 vhdAsyncExpansionDataComplete, … … 2545 2545 */ 2546 2546 pImage->pBlockAllocationTable[cBlockAllocationTableEntry] = pImage->uCurrentEndOfFile / VHD_SECTOR_SIZE; 2547 pImage->uCurrentEndOfFile += pImage->c bDataBlockBitmap+ pImage->cbDataBlock;2547 pImage->uCurrentEndOfFile += pImage->cDataBlockBitmapSectors * VHD_SECTOR_SIZE + pImage->cbDataBlock; 2548 2548 2549 2549 /* Update the footer. */
Note:
See TracChangeset
for help on using the changeset viewer.