summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/TmpFS.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-17 22:36:04 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-17 22:36:04 +0200
commitb8d6c3722d2887e45d6f2128cf9fd6f2f657c0b7 (patch)
tree182349460cd377b49e67927e52a0bd93da79bde7 /Kernel/FileSystem/TmpFS.h
parentd1bbe8b65220ab500917aaf79d2051023fb00ec6 (diff)
downloadserenity-b8d6c3722d2887e45d6f2128cf9fd6f2f657c0b7.zip
Kernel: Remove Inode::directory_entry_count()
This was only used in one place: VirtualFileSystem::rmdir(), and that has now been converted to a simple directory traversal.
Diffstat (limited to 'Kernel/FileSystem/TmpFS.h')
-rw-r--r--Kernel/FileSystem/TmpFS.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/FileSystem/TmpFS.h b/Kernel/FileSystem/TmpFS.h
index 3b747d7194..4e30ec236f 100644
--- a/Kernel/FileSystem/TmpFS.h
+++ b/Kernel/FileSystem/TmpFS.h
@@ -63,7 +63,6 @@ public:
virtual KResultOr<NonnullRefPtr<Inode>> create_child(StringView name, mode_t, dev_t, uid_t, gid_t) override;
virtual KResult add_child(Inode&, const StringView& name, mode_t) override;
virtual KResult remove_child(const StringView& name) override;
- virtual KResultOr<size_t> directory_entry_count() const override;
virtual KResult chmod(mode_t) override;
virtual KResult chown(uid_t, gid_t) override;
virtual KResult truncate(u64) override;