diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-01 17:46:37 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-01 17:46:37 +0200 |
commit | 2e14e5891cec2176938820eae28754258583b8a2 (patch) | |
tree | 3a93b521b7a3ebb204c2b4ad038dac899808c863 /Kernel/FileSystem/Ext2FileSystem.h | |
parent | 02e21de20afb46792d0bf03b11b49f198dee1d05 (diff) | |
download | serenity-2e14e5891cec2176938820eae28754258583b8a2.zip |
FileSystem: Remove now-unused Inode::parent() and Inode::reverse_lookup().
These were only used to implement the old path resolution algorithm.
Diffstat (limited to 'Kernel/FileSystem/Ext2FileSystem.h')
-rw-r--r-- | Kernel/FileSystem/Ext2FileSystem.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h index e53d6b2724..17654f1e24 100644 --- a/Kernel/FileSystem/Ext2FileSystem.h +++ b/Kernel/FileSystem/Ext2FileSystem.h @@ -29,12 +29,10 @@ private: virtual InodeMetadata metadata() const override; virtual bool traverse_as_directory(Function<bool(const FS::DirectoryEntry&)>) const override; virtual InodeIdentifier lookup(const String& name) override; - 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, mode_t) override; virtual KResult remove_child(const String& name) override; - virtual RetainPtr<Inode> parent() const override; virtual int set_atime(time_t) override; virtual int set_ctime(time_t) override; virtual int set_mtime(time_t) override; @@ -55,7 +53,6 @@ private: mutable Vector<unsigned> m_block_list; mutable HashMap<String, unsigned> m_lookup_cache; ext2_inode m_raw_inode; - mutable InodeIdentifier m_parent_id; }; class Ext2FS final : public DiskBackedFS { |