Changeset 59476 in vbox
- Timestamp:
- Jan 26, 2016 1:30:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r59455 r59476 372 372 373 373 static DECLCALLBACK(void) drvvdMediaExIoReqComplete(void *pvUser1, void *pvUser2, int rcReq); 374 static void drvvdPowerOffOrDestructOrUnmount(PPDMDRVINS pDrvIns); 374 375 375 376 /** … … 2406 2407 /* Media is no longer locked even if it was previously. */ 2407 2408 pThis->fLocked = false; 2409 drvvdPowerOffOrDestructOrUnmount(pThis->pDrvIns); 2408 2410 2409 2411 /* … … 3475 3477 * @param pDrvIns The driver instance. 3476 3478 */ 3477 static void drvvdPowerOffOrDestruct (PPDMDRVINS pDrvIns)3479 static void drvvdPowerOffOrDestructOrUnmount(PPDMDRVINS pDrvIns) 3478 3480 { 3479 3481 PVBOXDISK pThis = PDMINS_2_DATA(pDrvIns, PVBOXDISK); … … 3515 3517 { 3516 3518 PDMDRV_CHECK_VERSIONS_RETURN_VOID(pDrvIns); 3517 drvvdPowerOffOrDestruct (pDrvIns);3519 drvvdPowerOffOrDestructOrUnmount(pDrvIns); 3518 3520 } 3519 3521 … … 3627 3629 * callback first when we reconfigure the driver chain after a snapshot. 3628 3630 */ 3629 drvvdPowerOffOrDestruct (pDrvIns);3631 drvvdPowerOffOrDestructOrUnmount(pDrvIns); 3630 3632 if (pThis->MergeLock != NIL_RTSEMRW) 3631 3633 {
Note:
See TracChangeset
for help on using the changeset viewer.