Changeset 96837 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Sep 22, 2022 10:22:01 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 153732
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VMDK.cpp
r96833 r96837 1246 1246 */ 1247 1247 static int vmdkCreateGrainDirectory(PVMDKIMAGE pImage, PVMDKEXTENT pExtent, 1248 uint64_t uStartSector, bool fPreAlloc, 1249 bool fExisting = false) 1248 uint64_t uStartSector, bool fPreAlloc) 1250 1249 { 1251 1250 int rc = VINF_SUCCESS; … … 1280 1279 cbOverhead = RT_ALIGN_64(cbOverhead, 1281 1280 VMDK_SECTOR2BYTE(pExtent->cSectorsPerGrain)); 1282 1283 if (!fExisting) 1284 rc = vdIfIoIntFileSetSize(pImage->pIfIo, pExtent->pFile->pStorage, cbOverhead); 1281 rc = vdIfIoIntFileSetSize(pImage->pIfIo, pExtent->pFile->pStorage, cbOverhead); 1285 1282 } 1286 1283 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.