Kernel: Make FileDescription slab-allocated

This commit is contained in:
Andreas Kling 2020-02-22 14:37:58 +01:00
parent 9fc54ba931
commit 3e973bfe14
Notes: sideshowbarker 2024-07-19 09:10:08 +09:00

View file

@ -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&);