From 3df8881fb65f1a0db269c747601ca5b73c13fe6f Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 2 Apr 2023 12:32:46 -0700 Subject: [PATCH] mount_image.c: call file_contents_changed() on extending truncates --- src/mount_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.46.1