mirror of
https://github.com/ksherlock/profuse.git
synced 2026-02-13 05:35:01 +00:00
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@222 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -52,9 +52,9 @@ void BlockCache::read(unsigned block, void *bp)
|
||||
}
|
||||
|
||||
|
||||
BlockCache *BlockCache::Create(BlockDevice *device, unsigned size = 16)
|
||||
BlockCache *BlockCache::Create(BlockDevice *device)
|
||||
{
|
||||
if (!device) return NULL;
|
||||
|
||||
return device->createBlockCache(size);
|
||||
return device->createBlockCache();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user