From 1ef61abe9b69d52e278d69a62e853f18b02a0396 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 12 May 2014 20:22:41 -0500 Subject: [PATCH] write_dentry(): Remove unhelpful comment --- src/dentry.c | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.43.0