X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fmount_image.c;h=a2e09b435e43a60a72db289e0839c747315ceeaa;hp=d0b5d2c8c3977361da2c023cfb17fc5eb4b76540;hb=394c5bd3292c0f3168416c0a5f25989e557b3cfc;hpb=7ce0d372fae285051cbc9740c9fa316d22465d9d diff --git a/src/mount_image.c b/src/mount_image.c index d0b5d2c8..a2e09b43 100644 --- a/src/mount_image.c +++ b/src/mount_image.c @@ -645,7 +645,6 @@ extract_resource_to_staging_dir(struct wim_inode *inode, new_lte->refcnt = inode->i_nlink; new_lte->resource_location = RESOURCE_IN_STAGING_FILE; new_lte->staging_file_name = staging_file_name; - new_lte->lte_inode = inode; new_lte->resource_entry.original_size = size; lookup_table_insert_unhashed(ctx->wim->lookup_table, new_lte, @@ -796,7 +795,7 @@ rebuild_wim(struct wimfs_context *ctx, int write_flags, DEBUG("Closing all staging file descriptors."); image_for_each_unhashed_stream_safe(lte, tmp, imd) { - ret = inode_close_fds(lte->lte_inode); + ret = inode_close_fds(lte->back_inode); if (ret) return ret; } @@ -2484,7 +2483,6 @@ wimlib_mount_image(WIMStruct *wim, int image, const char *dir, WIMLIB_MOUNT_FLAG_STREAM_INTERFACE_WINDOWS))) mount_flags |= WIMLIB_MOUNT_FLAG_STREAM_INTERFACE_XATTR; - DEBUG("Initializing struct wimfs_context"); init_wimfs_context(&ctx); ctx.wim = wim;