]> wimlib.net Git - wimlib/commitdiff
ntfs-capture.c: Do no-op reparse-point fixups
authorEric Biggers <ebiggers3@gmail.com>
Sun, 5 May 2013 03:47:44 +0000 (22:47 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 5 May 2013 03:47:44 +0000 (22:47 -0500)
src/ntfs-capture.c

index 9896cdcca70292aa10081d0f9457e4d6cfb9d264..9797e3382daaff9c32295bababb05a8eed3e85d8 100644 (file)
@@ -645,6 +645,12 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_ret,
                        goto out;
        }
 
                        goto out;
        }
 
+       /* Reparse-point fixups are a no-op because in NTFS-3g capture mode we
+        * only allow capturing an entire volume. */
+       if (params->add_image_flags & WIMLIB_ADD_IMAGE_FLAG_RPFIX &&
+           inode_is_symlink(inode))
+               inode->i_not_rpfixed = 0;
+
        if (!(params->add_image_flags & WIMLIB_ADD_IMAGE_FLAG_NO_ACLS)) {
                /* Get security descriptor */
                char _sd[1];
        if (!(params->add_image_flags & WIMLIB_ADD_IMAGE_FLAG_NO_ACLS)) {
                /* Get security descriptor */
                char _sd[1];