diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-17 22:36:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-17 22:36:04 +0200 |
commit | b8d6c3722d2887e45d6f2128cf9fd6f2f657c0b7 (patch) | |
tree | 182349460cd377b49e67927e52a0bd93da79bde7 /Kernel/FileSystem/Inode.h | |
parent | d1bbe8b65220ab500917aaf79d2051023fb00ec6 (diff) | |
download | serenity-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/Inode.h')
-rw-r--r-- | Kernel/FileSystem/Inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h index 31c1230c68..519e4a9db0 100644 --- a/Kernel/FileSystem/Inode.h +++ b/Kernel/FileSystem/Inode.h @@ -59,7 +59,6 @@ public: virtual KResultOr<NonnullRefPtr<Inode>> create_child(StringView name, mode_t, dev_t, uid_t, gid_t) = 0; virtual KResult add_child(Inode&, const StringView& name, mode_t) = 0; virtual KResult remove_child(const StringView& name) = 0; - virtual KResultOr<size_t> directory_entry_count() const = 0; virtual KResult chmod(mode_t) = 0; virtual KResult chown(uid_t, gid_t) = 0; virtual KResult truncate(u64) { return KSuccess; } |