]> wimlib.net Git - wimlib/blobdiff - src/dentry.c
NTFS capture updates
[wimlib] / src / dentry.c
index c84a95655100cd80c634ad542ae7480d6ada93de..a0d0febde3e9894c5e11b7d66e396ec1c82b7392 100644 (file)
@@ -478,6 +478,7 @@ int print_dentry(struct dentry *dentry, void *lookup_table)
                        printf("Hash              = 0x"); 
                        print_hash(hash);
                        putchar('\n');
                        printf("Hash              = 0x"); 
                        print_hash(hash);
                        putchar('\n');
+                       putchar('\n');
                }
        }
        for (u16 i = 0; i < dentry->num_ads; i++) {
                }
        }
        for (u16 i = 0; i < dentry->num_ads; i++) {
@@ -1142,7 +1143,7 @@ static u8 *write_dentry(const struct dentry *dentry, u8 *p)
                p = put_zeroes(p, 4);
        } else {
                u64 hard_link;
                p = put_zeroes(p, 4);
        } else {
                u64 hard_link;
-               p = put_u32(p, dentry->reparse_tag);
+               p = put_u32(p, 0);
                if (dentry->link_group_list.next == &dentry->link_group_list)
                        hard_link = 0;
                else
                if (dentry->link_group_list.next == &dentry->link_group_list)
                        hard_link = 0;
                else