Commit Graph

1954 Commits (bb9c8afe600ce35d8a1e931eb33b70e947519384)
 

Author SHA1 Message Date
(none)!yura bb9c8afe60 Auto merged
2004/09/29 18:35:00+03:00 (none)!yura
SCCS merged

2004/09/29 18:16:34+03:00 (none)!yura
- Deallocate clusters when free atribute list.
- Write ntfs_attr_update_mapping_pairs and make ntfs_non_resident_attr_{shrink,expand} use it.

(Logical change 1.584)
2004-09-29 15:43:22 +00:00
(none)!yura 4b95d5ce3e Add ntfs_attr_update_mapping_pairs prototype.
(Logical change 1.584)
2004-09-29 15:43:22 +00:00
(none)!yura 746c36a4be Add new helper ntfs_attrlist_mark_dirty.
(Logical change 1.584)
2004-09-29 15:43:22 +00:00
cantab.net!aia21 a18fb7244f Update
(Logical change 1.583)
2004-09-29 14:45:16 +00:00
cantab.net!aia21 e3c44c8ff6 Always clear ctx->al_entry in ntfs_attr_reinit_search_ctx().
BKrev: 415aca7cWCu3EBuiI-NQXNcdSEJJ1w
2004-09-29 14:45:16 +00:00
cantab.net!aia21 75c1ed8b5d Always clear ctx->al_entry in ntfs_attr_reinit_search_ctx().
(Logical change 1.583)
2004-09-29 14:45:16 +00:00
elisa-laajakaista.fi!szaka b7d713c8f1 - ntfsclone: save by using our, not NTFS cluster allocation bitmap.
This gives more control in the future what to save.

BKrev: 4159f713A1Kny6AMt_QTXVbjQHuaJQ
2004-09-28 23:43:15 +00:00
elisa-laajakaista.fi!szaka e68a61101a - ntfsclone: save by using our, not NTFS cluster allocation bitmap.
This gives more control in the future what to save.

(Logical change 1.582)
2004-09-28 23:43:15 +00:00
elisa-laajakaista.fi!szaka 6afc38f179 libntfs/attrib.c
- suppress bogus gcc warning about uninitialized 'err' variable
libntfs/inode.c
    - fix err <-> errno typo that could cause bogus return value

BKrev: 4159ae841VJpVyLgXynZsPdWhzT-sw
2004-09-28 18:33:40 +00:00
elisa-laajakaista.fi!szaka 82efae551e - suppress bogus gcc warning about uninitialized 'err' variable
(Logical change 1.581)
2004-09-28 18:33:40 +00:00
elisa-laajakaista.fi!szaka f9ac10a85e - fix err <-> errno typo that could cause bogus return value
(Logical change 1.581)
2004-09-28 18:33:40 +00:00
(none)!yura 442fcef5bf libntfs/attrib.c
Make ntfs_attr_record_rm use ntfs_attrlist_need and delete attribute list if it is doesn't need.
libntfs/attrlist.c
    Add new API: ntfs_attrlist_need.

BKrev: 41571913K5_56FJcIFfiZdKO5TzzLA
2004-09-26 19:31:31 +00:00
(none)!yura 1e589f3db3 Update.
(Logical change 1.580)
2004-09-26 19:31:31 +00:00
(none)!yura b2f2facc29 Make ntfs_attr_record_rm use ntfs_attrlist_need and delete attribute list if it is doesn't need.
(Logical change 1.580)
2004-09-26 19:31:31 +00:00
(none)!yura c78630e1dd Add prototype.
(Logical change 1.580)
2004-09-26 19:31:31 +00:00
(none)!yura a373b59fd3 Add new API: ntfs_attrlist_need.
(Logical change 1.580)
2004-09-26 19:31:31 +00:00
(none)!yura e418cf5345 Update.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 52300dca77 - add tfs_inode_add_attrlist prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 756a0a84ca - add ntfs_resident_attr_record_add prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 5dee144063 - add ntfs_attrlist_set prototype.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 64bd37518d - New API: inode.[ch]::ntfs_inode_add_attrlist.
(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 7428b93f99 - New API: attrib.[ch]::ntfs_resident_attr_record_add.
- Update ntfs_non_resident_attr_expand to use ntfs_inode_add_attrlist.
- Fixes and cleanups.

(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 03e0ea814b - Move out common part of ntfs_attrlist_entry_{add,rm} to new API:
attrlist.[ch]::ntfs_attrlist_set.
- New API: attrib.[ch]::ntfs_resident_attr_record_add.
- New API: inode.[ch]::ntfs_inode_add_attrlist.
- Update ntfs_non_resident_attr_expand to use ntfs_inode_add_attrlist.
- Fixes and cleanups.

BKrev: 4155d0a843h4sN5M00iw90cHNdqjGg
2004-09-25 20:10:16 +00:00
(none)!yura 0f462c337c - Move out common part of ntfs_attrlist_entry_{add,rm} to new API:
attrlist.[ch]::ntfs_attrlist_set.
- Fixes and cleanups.

(Logical change 1.579)
2004-09-25 20:10:16 +00:00
(none)!yura 5df65f81b4 fixes for attribute list handling
BKrev: 4151d100khiVVozIQDZ6mpBDs1O2pA
2004-09-22 19:22:40 +00:00
(none)!yura bff0f300ff fixes for attribute list handling
(Logical change 1.578)
2004-09-22 19:22:40 +00:00
cantab.net!aia21 528dcd3401 Minor updates ntfs_external_attr_find().
BKrev: 415039c84awHHCAMTIvzV4afH7U3hA
2004-09-21 14:25:12 +00:00
cantab.net!aia21 acff9f4c43 Minor updates ntfs_external_attr_find().
(Logical change 1.577)
2004-09-21 14:25:12 +00:00
cantab.net!aia21 a8b99bcc35 No need to allocate a copy of the attribute name to be passed to
ntfs_attr_open().

BKrev: 41501a3fHnVUJMGglXL696y8gQiNuA
2004-09-21 12:10:39 +00:00
cantab.net!aia21 e461268d28 No need to allocate a copy of the attribute name to be passed to
ntfs_attr_open().

(Logical change 1.576)
2004-09-21 12:10:39 +00:00
(none)!yura da83a15a1c - not update initialized size in ntfs_non_resident_attr_expand
- fix compiler warnings

BKrev: 414f138ewxm4G0dfx0lyMpyZzwAVZA
2004-09-20 17:29:50 +00:00
(none)!yura 92f4878951 - not update initialized size in ntfs_non_resident_attr_expand
- fix compiler warnings

(Logical change 1.575)
2004-09-20 17:29:50 +00:00
(none)!yura 7443484bdc - fix compiler warnings
(Logical change 1.575)
2004-09-20 17:29:50 +00:00
cantab.net!aia21 dcdc79fd71 Fix warnings and endianness conversion errors.
BKrev: 414ef819T-8EpHmwk8-u9rlHouaMeg
2004-09-20 15:32:41 +00:00
cantab.net!aia21 2bf52eb259 Fix warnings and endianness conversion errors.
(Logical change 1.574)
2004-09-20 15:32:41 +00:00
cantab.net!aia21 47cc459e5b Fix typo.
(Logical change 1.573)
2004-09-20 15:27:55 +00:00
cantab.net!aia21 3415c47df1 Add NInoAttrListTestAndSetDirty() and TestAndClearDirty().
(Logical change 1.573)
2004-09-20 15:27:55 +00:00
cantab.net!aia21 1446547a5b - Only write out dirty attribute list if such is present.
- Use TestAndClearDirty and SetDirty on error for concurency fix.

BKrev: 414ef6fbfY7Uifjubp81QHek-9TZBA
2004-09-20 15:27:55 +00:00
cantab.net!aia21 5356fc247d - Only write out dirty attribute list if such is present.
- Use TestAndClearDirty and SetDirty on error for concurency fix.

(Logical change 1.573)
2004-09-20 15:27:55 +00:00
cantab.net!aia21 a241e062ac Clear attribute list dirty when clearing attr list presence.
BKrev: 414ef3bfUub5iXZoT0IA26ZPfBPI4g
2004-09-20 15:14:07 +00:00
cantab.net!aia21 b83b08ec73 Clear attribute list dirty when clearing attr list presence.
(Logical change 1.572)
2004-09-20 15:14:07 +00:00
cantab.net!aia21 510238c99a Remove clearing of directory flag. It is zero.
BKrev: 414eefd6sHJMzZPWbGOMXuYfrxERHA
2004-09-20 14:57:26 +00:00
cantab.net!aia21 76fd9217b7 Remove clearing of directory flag. It is zero.
(Logical change 1.571)
2004-09-20 14:57:26 +00:00
cantab.net!aia21 4a7a060f86 Update
(Logical change 1.570)
2004-09-20 14:46:38 +00:00
cantab.net!aia21 9f2f8ad317 - Make ntfs_attr_open() make a copy of the attribute name unless it is
one of the internal names.  (Anton)

(Logical change 1.570)
2004-09-20 14:46:38 +00:00
cantab.net!aia21 48c44604f1 - Add new API unistr.[hc]::ntfs_ucsndup(). (Anton)
- Make libntfs/attrib.c::ntfs_attr_open() make a copy of the attribute
  name unless it is one of the internal names.  (Anton)

BKrev: 414eed4e-b-WtoHDDYoiR7AtbpBDuQ
2004-09-20 14:46:38 +00:00
cantab.net!aia21 a70e770622 - Add new API unistr.[hc]::ntfs_ucsndup(). (Anton)
(Logical change 1.570)
2004-09-20 14:46:38 +00:00
(none)!yura edc3e44834 Update
(Logical change 1.569)
2004-09-20 11:31:28 +00:00
(none)!yura 6df8562e4d Attribute handling functions always update highest_vcn, if it was modified.
BKrev: 414ebf903MzP7itu-K5cf3MX-T-QFQ
2004-09-20 11:31:28 +00:00
(none)!yura f725bfae32 Attribute handling functions always update highest_vcn, if it was modified.
(Logical change 1.569)
2004-09-20 11:31:28 +00:00