file_sys/bis_factory: Eliminate usage of the global system accessor

This commit is contained in:
Lioncash 2020-09-16 18:14:43 -04:00
parent 279b79c880
commit e45b727db5
5 changed files with 11 additions and 11 deletions

View file

@ -379,7 +379,7 @@ ResultVal<FileSys::VirtualFile> FileSystemController::OpenBISPartitionStorage(
return FileSys::ERROR_ENTITY_NOT_FOUND;
}
auto part = bis_factory->OpenPartitionStorage(id);
auto part = bis_factory->OpenPartitionStorage(id, system.GetFilesystem());
if (part == nullptr) {
return FileSys::ERROR_INVALID_ARGUMENT;
}