Changeset 70304 in vbox for trunk/src/VBox
- Timestamp:
- Dec 22, 2017 8:24:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VDVfs.cpp
r70298 r70304 98 98 99 99 size_t cbPart = cbRead - cbMisalign; 100 Assert(!(cbPart % 512)); 100 101 rc = VDRead(pDisk, off, pbBuf, cbPart); 101 102 if (RT_SUCCESS(rc)) … … 111 112 && cbRead) 112 113 { 114 Assert(cbWrite == cbMisalign); 113 115 Assert(cbRead < 512); 114 116 Assert(!(off % 512)); 115 Assert(cbMisalign > 0);116 117 117 118 rc = VDRead(pDisk, off, abBuf, 512); … … 175 176 176 177 size_t cbPart = cbWrite - cbMisalign; 178 Assert(!(cbPart % 512)); 177 179 rc = VDWrite(pDisk, off, pbBuf, cbPart); 178 180 if (RT_SUCCESS(rc)) … … 188 190 && cbWrite > 0) 189 191 { 190 Assert(cb Misalign > 0);192 Assert(cbWrite == cbMisalign); 191 193 Assert(cbWrite < 512); 192 194 Assert(!(off % 512));
Note:
See TracChangeset
for help on using the changeset viewer.