]> wimlib.net Git - wimlib/commit
write_ntfs_data_streams(): Reserve space for streams
authorEric Biggers <ebiggers3@gmail.com>
Wed, 19 Dec 2012 18:46:08 +0000 (12:46 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 19 Dec 2012 18:46:08 +0000 (12:46 -0600)
commit82e0045e9a93baed16ca1fa1bbe5accfcf11cf6c
tree2450c75714017cba467ff8381480547f0cc385d9
parent051e6d3d1c88715d21b422fbcc806ab02d61ab67
write_ntfs_data_streams():  Reserve space for streams

Call ntfs_attr_truncate_solid() with the size of each stream before extracting
it as a NTFS attribute.  This should allocate the space (extents, etc.) needed
for the data before actually extracting it.
src/ntfs-apply.c