Kernel/aarch64: Stub Inode::{read,write}_bytes

Recent changes caused the build to fail for aarch64, with these
functions stubbed it builds again.
This commit is contained in:
Timon Kruiper 2022-09-20 21:54:07 +02:00 committed by Andreas Kling
parent 240fb93cf1
commit 1b60126d93
Notes: sideshowbarker 2024-07-17 09:56:35 +09:00

View File

@ -97,6 +97,18 @@ ErrorOr<void> Inode::set_shared_vmobject(Memory::SharedInodeVMObject&)
return {};
}
ErrorOr<size_t> Inode::read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const
{
VERIFY_NOT_REACHED();
return 0;
}
ErrorOr<size_t> Inode::write_bytes(off_t, size_t, UserOrKernelBuffer const&, OpenFileDescription*)
{
VERIFY_NOT_REACHED();
return 0;
}
}
// UserOrKernelBuffer.cpp