summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-22 14:37:58 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-22 14:37:58 +0100
commit3e973bfe145a867522892683e8283b6a7d812706 (patch)
tree1373ca8021da872411bd113fd1b41a8fc98ce3f8 /Kernel/FileSystem
parent9fc54ba93141b90a82e56dfb707d3e56b105a442 (diff)
downloadserenity-3e973bfe145a867522892683e8283b6a7d812706.zip
Kernel: Make FileDescription slab-allocated
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r--Kernel/FileSystem/FileDescription.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/FileSystem/FileDescription.h b/Kernel/FileSystem/FileDescription.h
index ecd7bc6b5f..5ad052cf82 100644
--- a/Kernel/FileSystem/FileDescription.h
+++ b/Kernel/FileSystem/FileDescription.h
@@ -47,6 +47,7 @@ class Socket;
class TTY;
class FileDescription : public RefCounted<FileDescription> {
+ MAKE_SLAB_ALLOCATED(FileDescription)
public:
static NonnullRefPtr<FileDescription> create(Custody&);
static NonnullRefPtr<FileDescription> create(File&);