From: Eric Biggers Date: Sun, 2 Apr 2023 19:32:46 +0000 (-0700) Subject: mount_image.c: call file_contents_changed() on extending truncates X-Git-Tag: v1.14.0~12 X-Git-Url: https://wimlib.net/git/?a=commitdiff_plain;h=3df8881fb65f1a0db269c747601ca5b73c13fe6f;p=wimlib mount_image.c: call file_contents_changed() on extending truncates --- diff --git a/src/mount_image.c b/src/mount_image.c index e9922454..38523517 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -820,7 +820,7 @@ extract_blob_to_staging_dir(struct wim_inode *inode, prepare_unhashed_blob(new_blob, inode, strm->stream_id, &wim_get_current_image_metadata(ctx->wim)->unhashed_blobs); inode_replace_stream_blob(inode, strm, new_blob, ctx->wim->blob_table); - if (size < blob_size(old_blob)) + if (size != blob_size(old_blob)) file_contents_changed(inode); return 0;