VirtualBox

Changeset 42039 in vbox for trunk/src/VBox/Storage


Ignore:
Timestamp:
Jul 6, 2012 1:29:33 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78939
Message:

Storage: New return status code when a free block is read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VD.cpp

    r41785 r42039  
    990990                cbBufClear += cbThisRead;
    991991
    992             rc = VINF_SUCCESS;
     992            if (pImage->uOpenFlags & VD_OPEN_FLAGS_INFORM_ABOUT_ZERO_BLOCKS)
     993                rc = VINF_VD_NEW_ZEROED_BLOCK;
     994            else
     995                rc = VINF_SUCCESS;
    993996        }
    994997        else if (RT_SUCCESS(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette