1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 12:27:35 +00:00

Kernel: Make Inode::flush_metadata() return a KResult

Even if this goes nowhere yet, we have to start building an error
propagation path somewhere.
This commit is contained in:
Andreas Kling 2021-10-21 17:01:52 +02:00
parent 6337d742bb
commit 6f69d5204f
18 changed files with 28 additions and 20 deletions

View file

@ -70,8 +70,9 @@ KResultOr<NonnullRefPtr<Inode>> DevTmpFSInode::lookup(StringView)
VERIFY_NOT_REACHED();
}
void DevTmpFSInode::flush_metadata()
KResult DevTmpFSInode::flush_metadata()
{
return KSuccess;
}
KResultOr<size_t> DevTmpFSInode::write_bytes(off_t, size_t, const UserOrKernelBuffer&, OpenFileDescription*)