mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02: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:
Notes:
sideshowbarker
2024-07-19 13:49:19 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9ac95d18675
@@ -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