layered_fs: Fix missing file size update

This was a silly typo from a previous change.
This commit is contained in:
zhupengfei 2020-02-23 15:22:41 +08:00
parent 4273b967b5
commit 8eacfceb6a
No known key found for this signature in database
GPG Key ID: DD129E108BD09378
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ void LayeredFS::LoadRelocations() {
auto* file = file_path_map.at(path);
file->relocation.type = 1;
file->relocation.replace_file_path = directory + virtual_name;
file->relocation.size = FileUtil::GetSize(directory + virtual_name);
LOG_INFO(Service_FS, "LayeredFS replacement file in use for {}", path);
return true;
};