Kernel: Refactor storage stack with u64 as mmap offset

This commit is contained in:
Jean-Baptiste Boric 2021-03-18 22:57:25 +01:00 committed by Andreas Kling
commit 6698fd84ff
Notes: sideshowbarker 2024-07-18 21:14:29 +09:00
15 changed files with 21 additions and 21 deletions

View file

@ -327,7 +327,7 @@ InodeMetadata FileDescription::metadata() const
return {};
}
KResultOr<Region*> FileDescription::mmap(Process& process, const Range& range, size_t offset, int prot, bool shared)
KResultOr<Region*> FileDescription::mmap(Process& process, const Range& range, u64 offset, int prot, bool shared)
{
LOCKER(m_lock);
return m_file->mmap(process, *this, range, offset, prot, shared);