VirtualBox

Changeset 66969 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 19, 2017 10:29:15 AM (8 years ago)
Author:
vboxsync
Message:

VSCSI/SBC: Fix querying disk regions after last commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VSCSI/VSCSILunSbc.cpp

    r66967 r66969  
    6363        rc = VERR_INVALID_PARAMETER;
    6464
    65     rc = vscsiLunMediumQueryRegionProperties(pVScsiLun, 0, NULL, &pVScsiLunSbc->cbSector,
    66                                              &pVScsiLunSbc->cSectors, NULL);
     65    if (RT_SUCCESS(rc))
     66        rc = vscsiLunMediumQueryRegionProperties(pVScsiLun, 0, NULL, &pVScsiLunSbc->cbSector,
     67                                                 &pVScsiLunSbc->cSectors, NULL);
    6768    if (RT_SUCCESS(rc))
    6869        rc = vscsiVpdPagePoolInit(&pVScsiLunSbc->VpdPagePool);
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