IORequest::CreateSubRequest() didn't return the created subrequest, nor

did it set its parent request.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26675 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-07-29 01:53:14 +00:00
parent 8cc3c74406
commit ecc1c87fc7

View File

@ -596,6 +596,9 @@ IORequest::CreateSubRequest(off_t parentOffset, off_t offset, size_t length,
return error;
}
_subRequest = subRequest;
subRequest->SetParent(this);
MutexLocker _(fLock);
fChildren.Add(subRequest);