+ // FIXME: try to mitigate this special case or pull it up to higher level of
+ // abstraction
+ if (mount_point->parent && mount_point->parent->inode) {
+ struct hstr ddot_name = HSTR("..", 2);
+ struct twifs_node* root_ddot = __twifs_get_node(fs_root, &ddot_name);
+ root_ddot->inode = mount_point->parent->inode;
+ }