- Rename ntfs_resident_attr_shrink() to ntfs_resident_attr_resize()
and make it resize upwards as well as downwards.
- Change ntfs_attr_truncate() to allow resizing upwards of resident
attributes.
BKrev: 3e103aaelA-DbuSxAZOuXF-SqZHIaA
- Rename ntfs_resident_attr_shrink() to ntfs_resident_attr_resize()
and make it resize upwards as well as downwards.
- Change ntfs_attr_truncate() to allow resizing upwards of resident
attributes.
(Logical change 1.75)
inode when an extent inode is closed. This is needed byt ntfs_mft_record_free()
in order to be able to free extent mft records.
- New API provided by mft.[hc]:
ntfs_mft_record_alloc(), -- WIP
ntfs_mft_record_free().
BKrev: 3e0f6b11PfOsUTFzT98-K2SKWj_qpg
inode when an extent inode is closed. This is needed byt ntfs_mft_record_free()
in order to be able to free extent mft records.
- New API provided by mft.[hc]:
ntfs_mft_record_alloc(), -- WIP
ntfs_mft_record_free().
(Logical change 1.74)
Uncomment still unused label.
ntfsprogs/ntfstruncate.c
Add ability to specify an attribute name in addition to the attribute type.
include/volume.h
Add attribute definition table to ntfs volume structure.
libntfs/volume.c
Load the attribute definition table at mount time and free it at umount time.
BKrev: 3e0ee7df1MNHgnJmH-0-5nWouWa6nQ
zero size. We should be converting such an attribute to a resident
one instead of leaving a zero size non-resident attribute.
BKrev: 3e0e21f2-EOnVjpgx9hG0y9AKl047A
Fix truncation of resident attributes (new attribute length calculation
was incorrect).
ntfsprogs/ntfstruncate.c
Fix typos and correct a wrong sanity check which prevented truncation
to zero size.
BKrev: 3e0df92901GVJpef7R3f7Aya7w0XSg
large change in the length of the attribute value.
- Only deallocate clusters, truncate the runlist, and regenerate the
mapping pairs array if the change in the non-resident attribute
value is sufficiently large.
BKrev: 3e0d9337b6ZofcTwHmT1nchXDT5Tkg
large change in the length of the attribute value.
- Only deallocate clusters, truncate the runlist, and regenerate the
mapping pairs array if the change in the non-resident attribute
value is sufficiently large.
(Logical change 1.67)
new ntfs_attr_truncate() function, it is not compiled by default.
Note, the library can currently only make attributes smaller and it
only works on uncompressed, unencrypted inodes which do not contain
attribute lists, i.e. on simple files, but that was quite a lot of
new code in itself which needs a lot of testing!
- ntfs_umount() now also does an fdatasync() on the device before closing it.
BKrev: 3e0cdec31tkln57-NXAcN4eNov_nBA