CID 712421: Missed some other occurrences, fixed them as well.
This commit is contained in:
parent
ee8f0ab0dc
commit
27aafb14d7
@ -1491,11 +1491,11 @@ Inode::FindBlockRun(off_t pos, block_run& run, off_t& offset)
|
||||
if (indirect[current].IsZero())
|
||||
break;
|
||||
|
||||
runBlockEnd += indirect[current].Length()
|
||||
runBlockEnd += (uint32)indirect[current].Length()
|
||||
<< cached.BlockShift();
|
||||
if (runBlockEnd > pos) {
|
||||
run = indirect[current];
|
||||
offset = runBlockEnd - (run.Length()
|
||||
offset = runBlockEnd - ((uint32)run.Length()
|
||||
<< cached.BlockShift());
|
||||
return fVolume->ValidateBlockRun(run);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user