Commit Graph

1933 Commits (7428b93f99a6c98cb04de117e5302b489b9c7484)
 

Author SHA1 Message Date
(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
(none)!yura eba2ebee2c Update
(Logical change 1.568)
2004-09-19 19:30:37 +00:00
(none)!yura 3aa1acaa90 Small update
(Logical change 1.568)
2004-09-19 19:30:37 +00:00
(none)!yura cc15a37332 Export ntfs_make_room_for_attr, ntfs_non_resident_attr_record_add and ntfs_attr_record_rm.
(Logical change 1.568)
2004-09-19 19:30:37 +00:00
(none)!yura 1fc3ddd8f4 ChangeLog
Update
include/ntfs/attrib.h
    Export ntfs_make_room_for_attr, ntfs_non_resident_attr_record_add and ntfs_attr_record_rm.
libntfs/attrib.c
    Small update

BKrev: 414dde5dkXXw_RpbqUSlgeoKjhY80w
2004-09-19 19:30:37 +00:00
(none)!yura 332be40f05 remove trainling spaces
(Logical change 1.567)
2004-09-19 18:59:25 +00:00
(none)!yura 1eea8a75f1 Fix highest_vcn updating for ATTRIBUTE_LIST and small fixes.
BKrev: 414dd70dNqcHy2BV_SuAnBaODDCQJw
2004-09-19 18:59:25 +00:00
(none)!yura 3c5e052974 Fix highest_vcn updating for ATTRIBUTE_LIST and small endian fix.
(Logical change 1.567)
2004-09-19 18:59:25 +00:00
(none)!yura 21a7090b05 libntfs/attrib.c
- add ntfs_attr_record_rm
    - add rollback to ntfs_non_resident_attr_expand
libntfs/attrlist.c
    - implement ntfs_attrlist_entry_rm

BKrev: 414d9a334g7JdLWOwzZEpfPjLmSY2Q
2004-09-19 14:39:47 +00:00
(none)!yura c30049a41e - more debug output
(Logical change 1.566)
2004-09-19 14:39:47 +00:00
(none)!yura 3337c4f57f - implement ntfs_attrlist_entry_rm
(Logical change 1.566)
2004-09-19 14:39:47 +00:00
(none)!yura 02bda1c69a - add ntfs_attr_record_rm
- add rollback to ntfs_non_resident_attr_expand

(Logical change 1.566)
2004-09-19 14:39:47 +00:00
(none)!yura 5218c4086a some fixes
BKrev: 414c650eSTmaZ1wlZW8uWH9SckwkqQ
2004-09-18 16:40:46 +00:00
(none)!yura 8d7e4f3847 some fixes
(Logical change 1.565)
2004-09-18 16:40:46 +00:00
(none)!yura aa2b031d57 fix name copying in ntfs_attrlist_entry_add()
BKrev: 414b1fa9vjCEx_P4F3qlJsuk5lcxSA
2004-09-17 17:32:25 +00:00
(none)!yura 9be64ab8c7 fix name copying in ntfs_attrlist_entry_add()
(Logical change 1.564)
2004-09-17 17:32:25 +00:00
(none)!yura 921a40e14b rename: ntfs_not_resident_attr_record_add -> ntfs_non_resident_attr_record_add
ntfs_non_resident_attr_record_add:
 - add cheking for attribute can be non-resident
 - fixed bug: forgot copy name to attribute

(Logical change 1.563)
2004-09-17 16:34:45 +00:00
(none)!yura 6f222626bd rename: ntfs_not_resident_attr_record_add -> ntfs_non_resident_attr_record_add
ntfs_non_resident_attr_record_add:
     - add cheking for attribute can be non-resident
     - fixed bug: forgot copy name to attribute

BKrev: 414b1225MaMTJrbt8-xVWXsidXIBSA
2004-09-17 16:34:45 +00:00
(none)!yura 70bdd48d07 SCCS merged
2004/09/17 19:05:41+03:00 (none)!yura
- port ntfs_make_room_for_attr from mkntfs
- add new API: ntfs_not_resident_attr_record_add
- make ntfs_not_resident_attr_expand allocate new extent records
(warning: there is no rollback at present, old is obsolete, so I removed it.
I will write new rollback as soon as possible)

(Logical change 1.562)
2004-09-17 16:07:04 +00:00
(none)!yura 4c66b37c29 Merge
2004/09/17 19:05:41+03:00 (none)!yura
libntfs/attrib.c
    - port ntfs_make_room_for_attr from mkntfs
    - add new API: ntfs_not_resident_attr_record_add
    - make ntfs_not_resident_attr_expand allocate new extent records
    (warning: there is no rollback at present, old is obsolete, so I removed it.
    I will write new rollback as soon as possible)
libntfs/attrlist.c
    - remove mref from ntfs_attrlist_entry_add prototype and adapt code
    - fix stupid bug with unmapped runlist in ntfs_attrlist_entry_add
    - one stupid bug in ntfs_attrlist_entry_add: vcn is 64bit long

BKrev: 414b0ba8h8uT2wLqBHPo7wYbRB28SA
2004-09-17 16:07:04 +00:00
(none)!yura 5a428e00fc - remove mref from ntfs_attrlist_entry_add prototype and adapt code
- fix stupid bug with unmapped runlist in ntfs_attrlist_entry_add
- one stupid bug in ntfs_attrlist_entry_add: vcn is 64bit long

(Logical change 1.562)
2004-09-17 16:07:04 +00:00
(none)!yura dc152cd323 - remove mref from ntfs_attrlist_entry_add prototype
(Logical change 1.562)
2004-09-17 16:07:04 +00:00