summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/TmpFS.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/TmpFS.h')
-rw-r--r--Kernel/FileSystem/TmpFS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/TmpFS.h b/Kernel/FileSystem/TmpFS.h
index 0557e00286..823a21c33c 100644
--- a/Kernel/FileSystem/TmpFS.h
+++ b/Kernel/FileSystem/TmpFS.h
@@ -21,7 +21,7 @@ class TmpFS final : public FS {
public:
virtual ~TmpFS() override;
- static NonnullRefPtr<TmpFS> create();
+ static RefPtr<TmpFS> create();
virtual bool initialize() override;
virtual const char* class_name() const override { return "TmpFS"; }
@@ -74,8 +74,8 @@ public:
private:
TmpFSInode(TmpFS& fs, InodeMetadata metadata, InodeIdentifier parent);
- static NonnullRefPtr<TmpFSInode> create(TmpFS&, InodeMetadata metadata, InodeIdentifier parent);
- static NonnullRefPtr<TmpFSInode> create_root(TmpFS&);
+ static RefPtr<TmpFSInode> create(TmpFS&, InodeMetadata metadata, InodeIdentifier parent);
+ static RefPtr<TmpFSInode> create_root(TmpFS&);
void notify_watchers();