* When creating the physical vector array, we did not advance "base" in the
loop. * This is probably the cause for file corruptions as well as bug #2595; will have another look tomorrow. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -427,6 +427,7 @@ DMAResource::TranslateNext(IORequest* request, IOOperation* operation)
|
|||||||
vecs[segmentCount].iov_len = entry.size;
|
vecs[segmentCount].iov_len = entry.size;
|
||||||
|
|
||||||
transferLeft -= entry.size;
|
transferLeft -= entry.size;
|
||||||
|
base += entry.size;
|
||||||
size -= entry.size;
|
size -= entry.size;
|
||||||
segmentCount++;
|
segmentCount++;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user