mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:48:11 +00:00
Kernel: Allow Ext2FS::flush_writes() to return ErrorOr<void>
This commit is contained in:
parent
28cda85f1f
commit
abcf05801a
8 changed files with 26 additions and 12 deletions
|
@ -106,7 +106,7 @@ ErrorOr<void> PowerStateSwitchTask::perform_shutdown(PowerStateSwitchTask::DoReb
|
|||
|
||||
while (!mounts.is_empty()) {
|
||||
auto& mount = mounts.take_last();
|
||||
mount.guest_fs().flush_writes();
|
||||
TRY(mount.guest_fs().flush_writes());
|
||||
|
||||
auto mount_path = TRY(mount.absolute_path());
|
||||
auto& mount_inode = mount.guest();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue