/* Free orphaned dentry trees */
while (!list_empty(&j->orphans)) {
orphan = list_first_entry(&j->orphans,
- struct wim_dentry, tmp_list);
- list_del(&orphan->tmp_list);
+ struct wim_dentry, d_tmp_list);
+ list_del(&orphan->d_tmp_list);
free_dentry_tree(orphan, j->blob_table);
}
do_unlink(subject, parent, root_p);
/* @subject is now unlinked. Add it to orphans. */
- list_add(&subject->tmp_list, orphans);
+ list_add(&subject->d_tmp_list, orphans);
subject->d_is_orphan = 1;
}
do_link(subject, parent, root_p);
/* @subject is no longer unlinked. Delete it from orphans. */
- list_del(&subject->tmp_list);
+ list_del(&subject->d_tmp_list);
subject->d_is_orphan = 0;
}
do_link(subject, parent, j->root_p);
if (subject->d_is_orphan) {
- list_del(&subject->tmp_list);
+ list_del(&subject->d_tmp_list);
subject->d_is_orphan = 0;
}
return 0;
do_unlink(subject, parent, j->root_p);
- list_add(&subject->tmp_list, &j->orphans);
+ list_add(&subject->d_tmp_list, &j->orphans);
subject->d_is_orphan = 1;
return 0;
}
if (add_flags & WIMLIB_ADD_FLAG_VERBOSE) {
union wimlib_progress_info info;
- info.replace.path_in_wim = existing->_full_path;
+ info.replace.path_in_wim = existing->d_full_path;
ret = call_progress(progfunc,
WIMLIB_PROGRESS_MSG_REPLACE_FILE_IN_WIM,
&info, progctx);
static int
free_dentry_full_path(struct wim_dentry *dentry, void *_ignore)
{
- FREE(dentry->_full_path);
- dentry->_full_path = NULL;
+ FREE(dentry->d_full_path);
+ dentry->d_full_path = NULL;
return 0;
}
unlink_dentry(src);
dentry_add_child(parent_of_dst, src);
}
- if (src->_full_path)
+ if (src->d_full_path)
for_dentry_in_tree(src, free_dentry_full_path, NULL);
return 0;
}