struct msg_unmount_request msg = {
.hdr = {
.min_version = ((unmount_flags & WIMLIB_UNMOUNT_FLAG_NEW_IMAGE) ?
- WIMLIB_MAKEVERSION(1, 6, 1) :
+ WIMLIB_MAKEVERSION(1, 6, 2) :
WIMLIB_MAKEVERSION(1, 2, 1)),
.cur_version = WIMLIB_VERSION_CODE,
.msg_type = MSG_TYPE_UNMOUNT_REQUEST,
#endif
/* Assign inode numbers. Also, if a read-write mount was requested,
- * mark the dentry tree as modified, and add each streams referenced by
+ * mark the dentry tree as modified, and add each stream referenced by
* files in the image to a list and preemptively double the number of
* references to each. The latter is done to allow implementing the
* WIMLIB_UNMOUNT_FLAG_NEW_IMAGE semantics. */
struct wim_lookup_table_entry *lte;
lte = inode_stream_lte(inode, i, wim->lookup_table);
- if (lte) {
- lte->orig_stream_list = (struct list_head){NULL, NULL};
+ if (lte)
lte->out_refcnt = 0;
- }
}
}
image_for_each_inode(inode, imd) {