* 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:
Axel Dörfler 2008-08-09 21:27:24 +00:00
parent 96e0e6d137
commit ed0303d19d

View File

@ -427,6 +427,7 @@ DMAResource::TranslateNext(IORequest* request, IOOperation* operation)
vecs[segmentCount].iov_len = entry.size;
transferLeft -= entry.size;
base += entry.size;
size -= entry.size;
segmentCount++;
}