ram_fs: writes to files should return length

Fixes #1545
This commit is contained in:
Emery Hemingway 2015-05-27 19:29:45 +02:00 committed by Christian Helmuth
parent 6b0b297351
commit 2c090119ae

View File

@ -86,7 +86,7 @@ namespace File_system {
_length = max(_length, seek_offset + len);
mark_as_updated();
return 0;
return len;
}
file_size_t length() const { return _length; }