- Timestamp:
- Sep 9, 2016 10:27:48 PM (8 years ago)
- Location:
- trunk/src/VBox/Storage
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/Makefile.kmk
r62482 r63788 24 24 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk 25 25 include $(PATH_SUB_CURRENT)/Debug/Makefile.kmk 26 27 ifndef VBOX_OSE28 include $(PATH_SUB_CURRENT)/VDFormats/Makefile.kmk29 endif30 26 31 27 # -
trunk/src/VBox/Storage/QED.cpp
r63785 r63788 1151 1151 static int qedOpenImage(PQEDIMAGE pImage, unsigned uOpenFlags) 1152 1152 { 1153 int rc;1154 1155 1153 pImage->uOpenFlags = uOpenFlags; 1156 1157 1154 pImage->pIfError = VDIfErrorGet(pImage->pVDIfsDisk); 1158 1155 pImage->pIfIo = VDIfIoIntGet(pImage->pVDIfsImage); … … 1163 1160 * even if opening the image file fails. 1164 1161 */ 1165 rc = qedL2TblCacheCreate(pImage);1162 int rc = qedL2TblCacheCreate(pImage); 1166 1163 if (RT_FAILURE(rc)) 1167 1164 { … … 1188 1185 1189 1186 uint64_t cbFile; 1190 QedHeader Header;1191 1187 rc = vdIfIoIntFileGetSize(pImage->pIfIo, pImage->pStorage, &cbFile); 1192 1188 if (RT_FAILURE(rc)) 1193 1189 goto out; 1194 if (cbFile > sizeof(Header)) 1195 { 1190 if (cbFile > sizeof(QedHeader)) 1191 { 1192 QedHeader Header; 1193 1196 1194 rc = vdIfIoIntFileReadSync(pImage->pIfIo, pImage->pStorage, 0, &Header, sizeof(Header)); 1197 1195 if ( RT_SUCCESS(rc)
Note:
See TracChangeset
for help on using the changeset viewer.