diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-22 14:37:58 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-22 14:37:58 +0100 |
commit | 3e973bfe145a867522892683e8283b6a7d812706 (patch) | |
tree | 1373ca8021da872411bd113fd1b41a8fc98ce3f8 /Kernel | |
parent | 9fc54ba93141b90a82e56dfb707d3e56b105a442 (diff) | |
download | serenity-3e973bfe145a867522892683e8283b6a7d812706.zip |
Kernel: Make FileDescription slab-allocated
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/FileSystem/FileDescription.h | 1 |
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&); |