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:
parent
dbba7407de
commit
359c7618f0
@ -327,7 +327,7 @@ Stream<Cache>::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<Cache>::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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user