]> wimlib.net Git - wimlib/commit
Don't unnecessarily rebuild exported metadata resources
authorEric Biggers <ebiggers3@gmail.com>
Mon, 19 Oct 2015 00:39:30 +0000 (19:39 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 19 Oct 2015 01:33:50 +0000 (20:33 -0500)
commit00d7680491529e7fd95f5721bd01795a730fc440
treeb03fe1d679a7b483cb922f3a3336fe219a04a31d
parent7bc9a01d5260f39f5d8c14a5478e3eada7d08ddd
Don't unnecessarily rebuild exported metadata resources

- When image metadata is modified, release the descriptor for the backing
  resource (if any), since it can no longer be used
- In write_metadata_resources(), allow copying metadata resources from a
  WIM file other than the one being written
- Remove the 'modified' and 'dont_check_metadata_hash' fields which are
  no longer needed
12 files changed:
include/wimlib/blob_table.h
include/wimlib/metadata.h
src/add_image.c
src/blob_table.c
src/export_image.c
src/extract.c
src/metadata_resource.c
src/mount_image.c
src/template.c
src/update_image.c
src/wim.c
src/write.c