From: Eric Biggers Date: Tue, 13 May 2014 01:22:41 +0000 (-0500) Subject: write_dentry(): Remove unhelpful comment X-Git-Tag: v1.7.0~200 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=1ef61abe9b69d52e278d69a62e853f18b02a0396;ds=sidebyside write_dentry(): Remove unhelpful comment --- diff --git a/src/dentry.c b/src/dentry.c index a9093467..3e462a6e 100644 --- a/src/dentry.c +++ b/src/dentry.c @@ -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) {