mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
Kernel: Move TmpFS towards OOM safety
This commit is contained in:
parent
8f9872581b
commit
23c021912e
2 changed files with 15 additions and 12 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue