mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +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
|
@ -32,7 +32,9 @@ private:
|
|||
|
||||
LockRefPtr<TmpFSInode> m_root_inode;
|
||||
|
||||
unsigned m_next_inode_index { 1 };
|
||||
// NOTE: We start by assigning InodeIndex of 2, because 0 is invalid and 1
|
||||
// is reserved for the root directory inode.
|
||||
unsigned m_next_inode_index { 2 };
|
||||
unsigned next_inode_index();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue