Changeset 19185 in vbox for trunk/src/VBox/Runtime/r3/linux
- Timestamp:
- Apr 26, 2009 9:04:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/linux/fileaio-linux.cpp
r19126 r19185 458 458 *phAioCtx = (RTFILEAIOCTX)pCtxInt; 459 459 } 460 else 461 RTMemFree(pCtxInt); 460 462 461 463 return rc; … … 500 502 } 501 503 502 503 RTDECL(int) RTFileAioCtxSubmit(RTFILEAIOCTX hAioCtx, PRTFILEAIOREQ pahReqs, size_t cReqs) 504 RTDECL(int) RTFileAioCtxAssociateWithFile(RTFILEAIOCTS hAioCtx, RTFILE hFile) 505 { 506 /* Nothing to do. */ 507 return VINF_SUCCESS; 508 } 509 510 RTDECL(int) RTFileAioCtxSubmit(RTFILEAIOCTX hAioCtx, PRTFILEAIOREQ pahReqs, size_t cReqs, size_t *pcReqs) 504 511 { 505 512 /* 506 513 * Parameter validation. 507 514 */ 515 AssertPtrReturn(pcReqs, VERR_INVALID_POINTER); 516 *pcReqs = 0; 508 517 PRTFILEAIOCTXINTERNAL pCtxInt = hAioCtx; 509 518 RTFILEAIOCTX_VALID_RETURN(pCtxInt); … … 539 548 if (RT_FAILURE(rc)) 540 549 ASMAtomicSubS32(&pCtxInt->cRequests, cReqs); 550 else 551 *pcReqs = cReqs; 541 552 542 553 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.