Kernel: Allow Ext2FS::flush_writes() to return ErrorOr<void>

This commit is contained in:
Zak-K-Abdi
2023-08-01 07:48:43 +01:00
committed by Sam Atkins
parent 28cda85f1f
commit abcf05801a
8 changed files with 26 additions and 12 deletions

View File

@@ -305,9 +305,10 @@ void BlockBasedFileSystem::flush_writes_impl()
});
}
void BlockBasedFileSystem::flush_writes()
ErrorOr<void> BlockBasedFileSystem::flush_writes()
{
flush_writes_impl();
return {};
}
}