Changeset 103523 in vbox
- Timestamp:
- Feb 22, 2024 11:15:48 AM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VHDX.cpp
r99739 r103523 1157 1157 uint32_t cDataBlocks; 1158 1158 uint32_t uChunkRatio; 1159 uint32_t cSectorBitmapBlocks;1160 1159 uint32_t cBatEntries; 1161 1160 uint32_t cbBatEntries; … … 1172 1171 if (pImage->cbSize % pImage->cbBlock) 1173 1172 cDataBlocks++; 1174 1175 cSectorBitmapBlocks = cDataBlocks / uChunkRatio;1176 if (cDataBlocks % uChunkRatio)1177 cSectorBitmapBlocks++;1178 1173 1179 1174 cBatEntries = cDataBlocks + (cDataBlocks - 1)/uChunkRatio;
Note:
See TracChangeset
for help on using the changeset viewer.