ram_fs: always set '_length' in 'File::truncate()'

Fixes #381.
This commit is contained in:
Christian Prochaska 2012-10-02 18:47:20 +02:00 committed by Norman Feske
parent cbf401f232
commit 56243820ee
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ namespace File_system {
{
if (size < _chunk.used_size())
_chunk.truncate(size);
else
_length = size;
_length = size;
}
};
}