Commit Graph

1920 Commits (2bf52eb259c120993c0f7ddd8d0ece626f211c83)
 

Author SHA1 Message Date
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
cantab.net!aia21 56c34f1d84 attrib.c:
Add check for new attribute size being large enough
  to store the attribute length in ntfs_attr_rec_resize().
support.h:
  Add offsetof() macro.

BKrev: 414a16fe-gHs80ssPQL93LI7mXvkrg
2004-09-16 22:43:10 +00:00
cantab.net!aia21 e4220d109a Update
(Logical change 1.561)
2004-09-16 22:43:10 +00:00
cantab.net!aia21 8dde1ae7ba Add offsetof() macro.
(Logical change 1.561)
2004-09-16 22:43:10 +00:00
cantab.net!aia21 07b1e1a361 Add check for new attribute size being large enough
to store the attribute length in ntfs_attr_rec_resize().

(Logical change 1.561)
2004-09-16 22:43:10 +00:00
cantab.net!aia21 50e082c5e7 Update
(Logical change 1.560)
2004-09-16 10:22:11 +00:00
cantab.net!aia21 87a450573c ChangeLog:
Update

BKrev: 41496953dmLfNhvicuTcWkfNP6zSPw
2004-09-16 10:22:11 +00:00
cantab.net!aia21 75bc06b8c7 Make output fit on 80-column-wide screen.
(Logical change 1.559)
2004-09-16 10:10:20 +00:00
cantab.net!aia21 1d433b4804 Fix bugs in handling of ->extent_nis in base inodes.
BKrev: 4149668cub46ApUQaDgnHkoNBtZrow
2004-09-16 10:10:20 +00:00
cantab.net!aia21 307c09774e Fix bugs in handling of ->extent_nis in base inodes.
(Logical change 1.559)
2004-09-16 10:10:20 +00:00
cantab.net!aia21 fe587b2319 Update
(Logical change 1.558)
2004-09-16 09:32:23 +00:00
cantab.net!aia21 9c86b21e87 (Logical change 1.558) 2004-09-16 09:32:23 +00:00
cantab.net!aia21 5d703b9636 Initial revision 2004-09-16 09:32:23 +00:00
cantab.net!aia21 6070d2444d Add ntfsmftalloc utility to the extra utilities to help test the mft
record allocator.  (Anton)

BKrev: 41495da7KaNsz8r71SASgz4NItVHqg
2004-09-16 09:32:23 +00:00