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/Inode.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/Inode.h')
-rw-r--r-- | Kernel/FileSystem/Inode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h index 6aa6d5a5eb..76355218bf 100644 --- a/Kernel/FileSystem/Inode.h +++ b/Kernel/FileSystem/Inode.h @@ -42,11 +42,9 @@ public: virtual ssize_t read_bytes(off_t, ssize_t, byte* buffer, FileDescriptor*) const = 0; virtual bool traverse_as_directory(Function<bool(const FS::DirectoryEntry&)>) const = 0; virtual InodeIdentifier lookup(const String& name) = 0; - virtual String reverse_lookup(InodeIdentifier) = 0; virtual ssize_t write_bytes(off_t, ssize_t, const byte* data, FileDescriptor*) = 0; virtual KResult add_child(InodeIdentifier child_id, const String& name, mode_t) = 0; virtual KResult remove_child(const String& name) = 0; - virtual RetainPtr<Inode> parent() const = 0; virtual size_t directory_entry_count() const = 0; virtual KResult chmod(mode_t) = 0; virtual KResult chown(uid_t, gid_t) = 0; |