Changeset 35987 in vbox for trunk/src/VBox/Storage/VMDK.cpp
- Timestamp:
- Feb 15, 2011 5:55:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VMDK.cpp
r34885 r35987 4502 4502 PVMDKEXTENT pExtent = &pImage->pExtents[0]; 4503 4503 uint32_t uLastGDEntry = pExtent->uLastGrainAccess / pExtent->cGTEntries; 4504 if (uLastGDEntry != pExtent->cGDEntries - 1) 4504 rc = vmdkStreamFlushGT(pImage, pExtent, uLastGDEntry); 4505 AssertRC(rc); 4506 vmdkStreamClearGT(pImage, pExtent); 4507 for (uint32_t i = uLastGDEntry + 1; i < pExtent->cGDEntries; i++) 4505 4508 { 4506 rc = vmdkStreamFlushGT(pImage, pExtent, uLastGDEntry);4509 rc = vmdkStreamFlushGT(pImage, pExtent, i); 4507 4510 AssertRC(rc); 4508 vmdkStreamClearGT(pImage, pExtent);4509 for (uint32_t i = uLastGDEntry + 1; i < pExtent->cGDEntries; i++)4510 {4511 rc = vmdkStreamFlushGT(pImage, pExtent, i);4512 AssertRC(rc);4513 }4514 4511 } 4515 4512
Note:
See TracChangeset
for help on using the changeset viewer.