mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 16:42:19 +02:00
Kernel: Allow Ext2FS::flush_writes() to return ErrorOr<void>
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/Zak-K-Abdi 🔰 Commit: https://github.com/SerenityOS/serenity/commit/abcf05801a Pull-request: https://github.com/SerenityOS/serenity/pull/20297 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -305,9 +305,10 @@ void BlockBasedFileSystem::flush_writes_impl()
|
||||
});
|
||||
}
|
||||
|
||||
void BlockBasedFileSystem::flush_writes()
|
||||
ErrorOr<void> BlockBasedFileSystem::flush_writes()
|
||||
{
|
||||
flush_writes_impl();
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user