diff --git a/src/add-ons/kernel/file_systems/bfs/Stream.h b/src/add-ons/kernel/file_systems/bfs/Stream.h index 86e0910b7f..75647c22aa 100644 --- a/src/add-ons/kernel/file_systems/bfs/Stream.h +++ b/src/add-ons/kernel/file_systems/bfs/Stream.h @@ -327,7 +327,7 @@ Stream::FindBlockRun(off_t pos, block_run &run, off_t &offset) offset = runBlockEnd - (run.length << cached.BlockShift()); //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); - return fVolume->IsValidBlockRun(run); + return fVolume->ValidateBlockRun(run); } } } @@ -348,13 +348,13 @@ Stream::FindBlockRun(off_t pos, block_run &run, off_t &offset) run = data->direct[current]; offset = runBlockEnd - (run.length << fVolume->BlockShift()); //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)); return B_ENTRY_NOT_FOUND; } - return fVolume->IsValidBlockRun(run); + return fVolume->ValidateBlockRun(run); }