mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +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:
parent
fdf3608c8a
commit
9ac95d1867
8 changed files with 30 additions and 29 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue