mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +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:
@@ -32,7 +32,7 @@ private:
|
||||
virtual String reverse_lookup(InodeIdentifier) override;
|
||||
virtual void flush_metadata() override;
|
||||
virtual ssize_t write_bytes(off_t, ssize_t, const byte* data, FileDescriptor*) override;
|
||||
virtual KResult add_child(InodeIdentifier child_id, const String& name, byte file_type) override;
|
||||
virtual KResult add_child(InodeIdentifier child_id, const String& name, mode_t) override;
|
||||
virtual KResult remove_child(const String& name) override;
|
||||
virtual RetainPtr<Inode> parent() const override;
|
||||
virtual int set_atime(time_t) override;
|
||||
|
||||
Reference in New Issue
Block a user