1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:15:07 +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:
Andreas Kling 2019-05-31 17:41:33 +02:00
parent fdf3608c8a
commit 9ac95d1867
8 changed files with 30 additions and 29 deletions

View file

@ -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();
}