vfs: add dirent parent pointer

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-12 10:47:58 -04:00
commit d2c698ac0a
7 changed files with 25 additions and 13 deletions

View file

@ -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;