summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/VirtualFileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/VirtualFileSystem.h')
-rw-r--r--Kernel/FileSystem/VirtualFileSystem.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Kernel/FileSystem/VirtualFileSystem.h b/Kernel/FileSystem/VirtualFileSystem.h
index dcce762312..f439d675c1 100644
--- a/Kernel/FileSystem/VirtualFileSystem.h
+++ b/Kernel/FileSystem/VirtualFileSystem.h
@@ -79,9 +79,6 @@ public:
KResult mknod(StringView path, mode_t, dev_t, Custody& base);
KResultOr<NonnullRefPtr<Custody>> open_directory(StringView path, Custody& base);
- void register_device(Badge<Device>, Device&);
- void unregister_device(Badge<Device>, Device&);
-
size_t mount_count() const { return m_mounts.size(); }
void for_each_mount(Function<void(const Mount&)>) const;
@@ -89,8 +86,6 @@ public:
void sync();
- Device* get_device(unsigned major, unsigned minor);
-
Custody& root_custody();
KResultOr<NonnullRefPtr<Custody>> resolve_path(StringView path, Custody& base, RefPtr<Custody>* parent = nullptr, int options = 0);
@@ -110,7 +105,6 @@ private:
RefPtr<Inode> m_root_inode;
NonnullOwnPtrVector<Mount> m_mounts;
- HashMap<u32, Device*> m_devices;
RefPtr<Custody> m_root_custody;
};