mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +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
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