mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
Kernel: Add callback on ".." directory entry for a TmpFS root directory
This commit is contained in:
parent
5ee1758f46
commit
6a555af1f1
3 changed files with 23 additions and 9 deletions
|
@ -38,6 +38,7 @@ public:
|
|||
|
||||
private:
|
||||
TmpFSInode(TmpFS& fs, InodeMetadata const& metadata, LockWeakPtr<TmpFSInode> parent);
|
||||
explicit TmpFSInode(TmpFS& fs);
|
||||
static ErrorOr<NonnullLockRefPtr<TmpFSInode>> try_create(TmpFS&, InodeMetadata const& metadata, LockWeakPtr<TmpFSInode> parent);
|
||||
static ErrorOr<NonnullLockRefPtr<TmpFSInode>> try_create_root(TmpFS&);
|
||||
|
||||
|
@ -84,6 +85,8 @@ private:
|
|||
NonnullLockRefPtr<Memory::AnonymousVMObject> m_content_buffer_vmobject;
|
||||
};
|
||||
|
||||
bool const m_root_directory_inode { false };
|
||||
|
||||
DataBlock::List m_blocks;
|
||||
Child::List m_children;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue