- Timestamp:
- Mar 15, 2010 3:10:45 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r27359 r27367 1705 1705 { 1706 1706 /* Error detected, but image opened. Close and delete image. */ 1707 int rc2;1708 1707 rc2 = pImage->Backend->pfnClose(pImage->pvBackendData, true); 1709 1708 AssertRC(rc2); … … 2934 2933 vdRemoveImageFromList(pDisk, pImage); 2935 2934 /* Close image. */ 2936 intrc2 = pImage->Backend->pfnClose(pImage->pvBackendData, false);2935 rc2 = pImage->Backend->pfnClose(pImage->pvBackendData, false); 2937 2936 if (RT_FAILURE(rc2) && RT_SUCCESS(rc)) 2938 2937 rc = rc2; … … 3393 3392 3394 3393 /* Cache new geometry values in any case. */ 3395 intrc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pvBackendData,3396 3394 rc2 = pImage->Backend->pfnGetPCHSGeometry(pImage->pvBackendData, 3395 &pDisk->PCHSGeometry); 3397 3396 if (RT_FAILURE(rc2)) 3398 3397 { … … 3561 3560 3562 3561 /* Cache new geometry values in any case. */ 3563 intrc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pvBackendData,3564 3562 rc2 = pImage->Backend->pfnGetLCHSGeometry(pImage->pvBackendData, 3563 &pDisk->LCHSGeometry); 3565 3564 if (RT_FAILURE(rc2)) 3566 3565 {
Note:
See TracChangeset
for help on using the changeset viewer.