- Timestamp:
- Jul 26, 2016 2:07:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfsreadahead.cpp
r62448 r62562 348 348 static DECLCALLBACK(int) rtVfsReadAhead_Write(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbWritten) 349 349 { 350 RT_NOREF_PV(pvThis); RT_NOREF_PV(off); RT_NOREF_PV(pSgBuf); RT_NOREF_PV(fBlocking); RT_NOREF_PV(pcbWritten); 350 351 AssertFailed(); 351 352 return VERR_ACCESS_DENIED; … … 403 404 404 405 RTCritSectEnter(&pThis->IoCritSect); 405 /// @todo int rc = RTVfsFileSetMode(pThis->hFile, fMode, fMask);406 RT_NOREF_PV(fMode); RT_NOREF_PV(fMask); /// @todo int rc = RTVfsFileSetMode(pThis->hFile, fMode, fMask); 406 407 int rc = VERR_NOT_SUPPORTED; 407 408 RTCritSectLeave(&pThis->IoCritSect); … … 415 416 */ 416 417 static DECLCALLBACK(int) rtVfsReadAhead_SetTimes(void *pvThis, PCRTTIMESPEC pAccessTime, PCRTTIMESPEC pModificationTime, 417 PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime)418 PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime) 418 419 { 419 420 PRTVFSREADAHEAD pThis = (PRTVFSREADAHEAD)pvThis; … … 421 422 422 423 RTCritSectEnter(&pThis->IoCritSect); 424 RT_NOREF_PV(pAccessTime); RT_NOREF_PV(pModificationTime); RT_NOREF_PV(pChangeTime); RT_NOREF_PV(pBirthTime); 423 425 /// @todo int rc = RTVfsFileSetTimes(pThis->hFile, pAccessTime, pModificationTime, pChangeTime, pBirthTime); 424 426 int rc = VERR_NOT_SUPPORTED; … … 438 440 439 441 RTCritSectEnter(&pThis->IoCritSect); 442 RT_NOREF_PV(uid); RT_NOREF_PV(gid); 440 443 /// @todo int rc = RTVfsFileSetOwner(pThis->hFile, uid, gid); 441 444 int rc = VERR_NOT_SUPPORTED; … … 460 463 int rc = RTVfsFileSeek(pThis->hFile, offSeek, uMethod, &offActual); 461 464 if (RT_SUCCESS(rc)) 465 { 462 466 pThis->offConsumer = offActual; 467 if (poffActual) 468 *poffActual = offActual; 469 } 463 470 464 471 RTCritSectLeave(&pThis->BufferCritSect);
Note:
See TracChangeset
for help on using the changeset viewer.