summaryrefslogtreecommitdiff
path: root/lib/fstree/fstree.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-01 02:09:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-02 12:40:06 +0200
commit083988ab0f58b334fa64e376e6c8231f60894d40 (patch)
tree9a14f0d0549ac2d6e2ed2161d8e479e1f0a16435 /lib/fstree/fstree.c
parentde9f0a79850df74078b8c104ce1232d40ec9cc1f (diff)
Write inodes to image
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstree/fstree.c')
-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;