mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 20:45:08 +00:00
Kernel: Make SharedInodeVMObject allocation OOM-safe
This commit is contained in:
parent
59049ae4b7
commit
af8c74a328
4 changed files with 17 additions and 6 deletions
|
@ -16,7 +16,7 @@ class SharedInodeVMObject final : public InodeVMObject {
|
|||
AK_MAKE_NONMOVABLE(SharedInodeVMObject);
|
||||
|
||||
public:
|
||||
static NonnullRefPtr<SharedInodeVMObject> create_with_inode(Inode&);
|
||||
static RefPtr<SharedInodeVMObject> try_create_with_inode(Inode&);
|
||||
virtual RefPtr<VMObject> clone() override;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue