mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
FileSystem: Pass mode_t to Inode::add_child().
This way the Ext2FS code can update its directory entry "file type" fields correctly based on the file mode. This fixes some e2fsck whining.
This commit is contained in:
@@ -279,11 +279,10 @@ ssize_t SynthFSInode::write_bytes(off_t offset, ssize_t size, const byte* buffer
|
||||
return 0;
|
||||
}
|
||||
|
||||
KResult SynthFSInode::add_child(InodeIdentifier child_id, const String& name, byte file_type)
|
||||
KResult SynthFSInode::add_child(InodeIdentifier child_id, const String& name, mode_t)
|
||||
{
|
||||
(void)child_id;
|
||||
(void)name;
|
||||
(void)file_type;
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user