summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/ProcFS.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-06-25 00:16:24 +0300
committerAndreas Kling <kling@serenityos.org>2020-06-25 15:49:04 +0200
commit6efbbcd4baf24a1fa599245a23012ef0ecc9441e (patch)
tree0b5aed2c7285451fb3ecc96bf33b407b62277f43 /Kernel/FileSystem/ProcFS.h
parentdf66c28479e9206adeef1f40f8c0e448c8aea77e (diff)
downloadserenity-6efbbcd4baf24a1fa599245a23012ef0ecc9441e.zip
Kernel: Port mounts to reference inodes directly
...instead of going through their identifiers. See the previous commit for reasoning.
Diffstat (limited to 'Kernel/FileSystem/ProcFS.h')
-rw-r--r--Kernel/FileSystem/ProcFS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/ProcFS.h b/Kernel/FileSystem/ProcFS.h
index 280249897e..e57b45d85c 100644
--- a/Kernel/FileSystem/ProcFS.h
+++ b/Kernel/FileSystem/ProcFS.h
@@ -50,7 +50,6 @@ public:
virtual const char* class_name() const override;
virtual NonnullRefPtr<Inode> root_inode() const override;
- virtual RefPtr<Inode> get_inode(InodeIdentifier) const override;
static void add_sys_bool(String&&, Lockable<bool>&, Function<void()>&& notify_callback = nullptr);
static void add_sys_string(String&&, Lockable<String>&, Function<void()>&& notify_callback = nullptr);
@@ -79,6 +78,7 @@ private:
InodeIdentifier identifier(unsigned fsid) const;
};
+ RefPtr<Inode> get_inode(InodeIdentifier) const;
ProcFSDirectoryEntry* get_directory_entry(InodeIdentifier) const;
Vector<ProcFSDirectoryEntry> m_entries;