mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
TmpFS: Use fallible KBuffer API
If allocation fails, some TmpFS operations can now fail with ENOMEM.
This commit is contained in:
parent
47da86d136
commit
bcd2844439
Notes:
sideshowbarker
2024-07-19 00:45:16 +09:00
Author: https://github.com/awesomekling
Commit: bcd2844439
2 changed files with 25 additions and 19 deletions
|
@ -102,7 +102,7 @@ private:
|
|||
InodeMetadata m_metadata;
|
||||
InodeIdentifier m_parent;
|
||||
|
||||
Optional<KBuffer> m_content;
|
||||
OwnPtr<KBuffer> m_content;
|
||||
struct Child {
|
||||
String name;
|
||||
NonnullRefPtr<TmpFSInode> inode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue