assorted slab fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20833 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -133,8 +133,8 @@ struct HashCacheStrategy : BaseCacheStrategy<Backend>, BaseHashCacheStrategy {
|
||||
|
||||
// it's very important that we cast this to BaseHashCacheStrategy
|
||||
// so we get the proper instance offset through void *
|
||||
return BaseCacheStrategy<Backend>::_ConstructSlab(slab, pages, 0,
|
||||
_Linkage, (BaseHashCacheStrategy *)this);
|
||||
return BaseCacheStrategy<Backend>::_ConstructSlab(slab, pages,
|
||||
_SlabSize(), _Linkage, (BaseHashCacheStrategy *)this);
|
||||
}
|
||||
|
||||
void ReturnSlab(BaseSlab *slab)
|
||||
|
||||
Reference in New Issue
Block a user