X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fdentry.c;h=97ad628f8a5df7ef5f3d27eac864aa4d40f4db4c;hp=7f0c1d068b09ba845acf22d72b9a5155f46f3d9b;hb=43dcc8bb71d6c7b6118f81d87e61ff865f7e89a5;hpb=ab82c2b1642c5c59d66a9b14e7fcdcee06dc573a diff --git a/src/dentry.c b/src/dentry.c index 7f0c1d06..97ad628f 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -1443,19 +1443,16 @@ read_dentry(const u8 metadata_resource[], u64 metadata_resource_len, p = get_bytes(p, SHA1_HASH_SIZE, inode->i_hash); - /* - * I don't know what's going on here. It seems like M$ screwed up the + /* I don't know what's going on here. It seems like M$ screwed up the * reparse points, then put the fields in the same place and didn't - * document it. The WIM_HDR_FLAG_RP_FIX flag in the WIM header might - * have something to do with this, but it's not documented. - */ + * document it. */ if (inode->i_attributes & FILE_ATTRIBUTE_REPARSE_POINT) { - /* ??? */ p += 4; p = get_u32(p, &inode->i_reparse_tag); p += 4; } else { - p = get_u32(p, &inode->i_reparse_tag); + p += 4; + /* i_reparse_tag is irrelevant; just leave it at 0. */ p = get_u64(p, &inode->i_ino); }