vfs: add dirent parent pointer
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
0eb0f4541a
commit
d2c698ac0a
7 changed files with 25 additions and 13 deletions
|
|
@ -46,6 +46,7 @@ int ramfs_create(u64 flags, fs_t **out)
|
|||
root->type = S_IFDIR;
|
||||
root->fs = fs;
|
||||
root->inode = root_inode;
|
||||
root->parent = NULL;
|
||||
|
||||
*out = fs;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue