VirtualBox

Changeset 96837 in vbox for trunk/src/VBox/Storage


Ignore:
Timestamp:
Sep 22, 2022 10:22:01 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153732
Message:

Storage: removed unnecessary parameter bugref:8707

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VMDK.cpp

    r96833 r96837  
    12461246 */
    12471247static int vmdkCreateGrainDirectory(PVMDKIMAGE pImage, PVMDKEXTENT pExtent,
    1248                                     uint64_t uStartSector, bool fPreAlloc,
    1249                                     bool fExisting = false)
     1248                                    uint64_t uStartSector, bool fPreAlloc)
    12501249{
    12511250    int rc = VINF_SUCCESS;
     
    12801279        cbOverhead = RT_ALIGN_64(cbOverhead,
    12811280                                 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);
    12851282    }
    12861283    if (RT_SUCCESS(rc))
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