]> wimlib.net Git - wimlib/commitdiff
write_dentry(): Remove unhelpful comment
authorEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 01:22:41 +0000 (20:22 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 01:22:41 +0000 (20:22 -0500)
src/dentry.c

index a90934672185d69ad67221d8f53fb007c81a4fb5..3e462a6e38f472e623ab4ea887e257f05c257177 100644 (file)
@@ -1652,11 +1652,6 @@ write_dentry(const struct wim_dentry * restrict dentry, u8 * restrict p)
        while ((uintptr_t)p & 7)
                *p++ = 0;
 
-       /* We calculate the correct length of the dentry ourselves because the
-        * dentry->length field may been set to an unexpected value from when we
-        * read the dentry in (for example, there may have been unknown data
-        * appended to the end of the dentry...).  Furthermore, the dentry may
-        * have been renamed, thus changing its needed length. */
        disk_dentry->length = cpu_to_le64(p - orig_p);
 
        if (use_dummy_stream) {