git-svn-id: https://profuse.googlecode.com/svn/branches/v2@222 aa027e90-d47c-11dd-86d7-074df07e0730

This commit is contained in:
ksherlock
2010-05-18 21:26:07 +00:00
parent 699a6e02fb
commit 22afe5d128
12 changed files with 30 additions and 25 deletions
+2 -2
View File
@@ -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();
}
+1 -1
View File
@@ -19,7 +19,7 @@ enum BlockReleaseFlags {
class BlockCache {
public:
BlockCache *Create(BlockDevice *device, unsigned size = 16);
static BlockCache *Create(BlockDevice *device);
virtual ~BlockCache();