aboutsummaryrefslogtreecommitdiff
path: root/lib/fstree
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstree')
-rw-r--r--lib/fstree/fstree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fstree/fstree.c b/lib/fstree/fstree.c
index 2722b4a..8081931 100644
--- a/lib/fstree/fstree.c
+++ b/lib/fstree/fstree.c
@@ -29,6 +29,7 @@ static tree_node_t *mknode(tree_node_t *parent, const char *name,
if (parent != NULL) {
n->next = parent->data.dir->children;
parent->data.dir->children = n;
+ n->parent = parent;
}
n->uid = uid;