Remove link_dentry()
[wimlib] / src / modify.c
index 9b564bd8d5531399003dfd6cff6c8d86c03f4d29..7fc1a6cfe4f21eca877a581b0b5601a9a4aa3d85 100644 (file)
@@ -196,7 +196,7 @@ static int build_dentry_tree(struct dentry **root_ret,
                        if (ret != 0)
                                break;
                        if (child)
                        if (ret != 0)
                                break;
                        if (child)
-                               link_dentry(child, root);
+                               dentry_add_child(root, child);
                }
                closedir(dir);
        } else if (dentry_is_symlink(root)) { /* Archiving a symbolic link */
                }
                closedir(dir);
        } else if (dentry_is_symlink(root)) { /* Archiving a symbolic link */