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:
parent
8cc3c74406
commit
ecc1c87fc7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user