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/Ext2FileSystem.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/Ext2FileSystem.h')
-rw-r--r-- | Kernel/FileSystem/Ext2FileSystem.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/FileSystem/Ext2FileSystem.h b/Kernel/FileSystem/Ext2FileSystem.h index 77cefcb4d4..65cc380efb 100644 --- a/Kernel/FileSystem/Ext2FileSystem.h +++ b/Kernel/FileSystem/Ext2FileSystem.h @@ -52,7 +52,6 @@ private: virtual KResult set_mtime(time_t) override; virtual KResult increment_link_count() override; virtual KResult decrement_link_count() 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; |