Changed because of renaming IsValidBlockRun() to ValidateBlockRun().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1989 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -327,7 +327,7 @@ Stream<Cache>::FindBlockRun(off_t pos, block_run &run, off_t &offset)
|
|||||||
offset = runBlockEnd - (run.length << cached.BlockShift());
|
offset = runBlockEnd - (run.length << cached.BlockShift());
|
||||||
//printf("reading from indirect block: %ld,%d\n",fRun.allocation_group,fRun.start);
|
//printf("reading from indirect block: %ld,%d\n",fRun.allocation_group,fRun.start);
|
||||||
//printf("### indirect-run[%ld] = (%ld,%d,%d), offset = %Ld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);
|
//printf("### indirect-run[%ld] = (%ld,%d,%d), offset = %Ld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);
|
||||||
return fVolume->IsValidBlockRun(run);
|
return fVolume->ValidateBlockRun(run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -348,13 +348,13 @@ Stream<Cache>::FindBlockRun(off_t pos, block_run &run, off_t &offset)
|
|||||||
run = data->direct[current];
|
run = data->direct[current];
|
||||||
offset = runBlockEnd - (run.length << fVolume->BlockShift());
|
offset = runBlockEnd - (run.length << fVolume->BlockShift());
|
||||||
//printf("### run[%ld] = (%ld,%d,%d), offset = %Ld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);
|
//printf("### run[%ld] = (%ld,%d,%d), offset = %Ld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);
|
||||||
return fVolume->IsValidBlockRun(run);
|
return fVolume->ValidateBlockRun(run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//PRINT(("FindBlockRun() failed in direct range: size = %Ld, pos = %Ld\n",data->size,pos));
|
//PRINT(("FindBlockRun() failed in direct range: size = %Ld, pos = %Ld\n",data->size,pos));
|
||||||
return B_ENTRY_NOT_FOUND;
|
return B_ENTRY_NOT_FOUND;
|
||||||
}
|
}
|
||||||
return fVolume->IsValidBlockRun(run);
|
return fVolume->ValidateBlockRun(run);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user