diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-10 19:39:17 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-02-11 17:49:46 +0200 |
commit | d9d33627223f4b713b0ca17ccd99b6a15c89745e (patch) | |
tree | 5f5063dc5673a74741294303967d20c8bedcf974 /Kernel/Memory/SharedInodeVMObject.h | |
parent | 8030e2a88f8b6c9a78ac9734fb2c08071f8d3d70 (diff) | |
download | serenity-d9d33627223f4b713b0ca17ccd99b6a15c89745e.zip |
Kernel: Make SharedInodeVMObject pages Bitmap allocation OOM-fallible
Diffstat (limited to 'Kernel/Memory/SharedInodeVMObject.h')
-rw-r--r-- | Kernel/Memory/SharedInodeVMObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Memory/SharedInodeVMObject.h b/Kernel/Memory/SharedInodeVMObject.h index 2c38eead01..75d3637808 100644 --- a/Kernel/Memory/SharedInodeVMObject.h +++ b/Kernel/Memory/SharedInodeVMObject.h @@ -23,8 +23,8 @@ public: private: virtual bool is_shared_inode() const override { return true; } - explicit SharedInodeVMObject(Inode&, FixedArray<RefPtr<PhysicalPage>>&&); - explicit SharedInodeVMObject(SharedInodeVMObject const&, FixedArray<RefPtr<PhysicalPage>>&&); + explicit SharedInodeVMObject(Inode&, FixedArray<RefPtr<PhysicalPage>>&&, Bitmap dirty_pages); + explicit SharedInodeVMObject(SharedInodeVMObject const&, FixedArray<RefPtr<PhysicalPage>>&&, Bitmap dirty_pages); virtual StringView class_name() const override { return "SharedInodeVMObject"sv; } |