Kernel/FATFS: Pass the FATEntry location to FATInode constructor

This is going to be necessary to flush the metadata later on.
This commit is contained in:
Undefine
2024-01-14 16:52:50 +01:00
committed by Tim Schumacher
parent de574b9ed9
commit eb2721d650
3 changed files with 21 additions and 8 deletions

View File

@@ -237,7 +237,7 @@ ErrorOr<void> FATFS::initialize_while_locked()
}
root_entry.attributes = FATAttributes::Directory;
m_root_inode = TRY(FATInode::create(*this, root_entry));
m_root_inode = TRY(FATInode::create(*this, root_entry, { 0, 1 }));
return {};
}