Changeset 65479 in vbox
- Timestamp:
- Jan 27, 2017 11:53:03 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113107
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvDiskIntegrity.cpp
r64724 r65479 1116 1116 /* Update our copy. */ 1117 1117 RTSgBufCopyToBuf(&SgBuf, (uint8_t *)pIoReq->IoSeg.pvSeg + offDst, cbCopy); 1118 1119 /* Validate the just read data against our copy if possible. */ 1120 if ( pThis->fValidateMemBufs 1121 && pThis->fCheckConsistency 1122 && pIoReq->enmTxDir == DRVDISKAIOTXDIR_READ) 1123 { 1124 RTSGSEG Seg; 1125 1126 Seg.pvSeg = (uint8_t *)pIoReq->IoSeg.pvSeg + offDst; 1127 Seg.cbSeg = cbCopy; 1128 1129 rc = drvdiskintReadVerify(pThis, &Seg, 1, pIoReq->off + offDst, 1130 cbCopy); 1131 } 1118 1132 } 1119 1133
Note:
See TracChangeset
for help on using the changeset viewer.