* 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:
parent
96e0e6d137
commit
ed0303d19d
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user