mirror of
https://github.com/ksherlock/profuse.git
synced 2026-09-24 23:56:21 +00:00
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@222 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -150,14 +150,14 @@ bool UniversalDiskImage::readOnly()
|
||||
}
|
||||
|
||||
|
||||
BlockCache *UniversalDiskImage::createBlockCache(unsigned size)
|
||||
BlockCache *UniversalDiskImage::createBlockCache()
|
||||
{
|
||||
if (_format == 1)
|
||||
{
|
||||
return new MappedBlockCache(this, _dataOffset + (uint8_t *)address());
|
||||
}
|
||||
|
||||
return DiskImage::createBlockCache(size);
|
||||
return DiskImage::createBlockCache();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user