]> wimlib.net Git - wimlib/blobdiff - src/ntfs-apply.c
extract_image.c: Simplify applying stream list
[wimlib] / src / ntfs-apply.c
index 35760400bc9530463e0227589071a6667eeb6a66..0297e7245f9037d18eb46dcb22b004e93fcdd4e9 100644 (file)
@@ -117,7 +117,7 @@ write_ntfs_data_streams(ntfs_inode *ni, struct wim_dentry *dentry,
        for (;;) {
                if (stream_name_nbytes) {
                        /* Skip special UNIX data entries (see documentation for
-                        * WIMLIB_ADD_IMAGE_FLAG_UNIX_DATA) */
+                        * WIMLIB_ADD_FLAG_UNIX_DATA) */
                        if (stream_name_nbytes == WIMLIB_UNIX_DATA_TAG_UTF16LE_NBYTES
                            && !memcmp(stream_name,
                                       WIMLIB_UNIX_DATA_TAG_UTF16LE,
@@ -407,7 +407,7 @@ do_apply_dentry_ntfs(struct wim_dentry *dentry, ntfs_inode *dir_ni,
        mode_t type;
        ntfs_inode *ni = NULL;
        struct wim_inode *inode = dentry->d_inode;
-       dentry->is_extracted = 1;
+       dentry->needs_extraction = 0;
 
        if (inode->i_attributes & FILE_ATTRIBUTE_DIRECTORY) {
                type = S_IFDIR;