Commit Graph

1887 Commits (70bdd48d07abe7ff66468c839ffc493a30d90ebf)
 

Author SHA1 Message Date
(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
cantab.net!aia21 abf32ee708 Add ntfsmftalloc to extra build.
(Logical change 1.558)
2004-09-16 09:32:23 +00:00
cantab.net!aia21 7b1e701f45 Add ntfsmftalloc to BK ignore.
(Logical change 1.558)
2004-09-16 09:32:23 +00:00
cantab.net!aia21 592856a932 Write out dirty extent inodes in ntfs_inode_close() when closing a base
inode.

BKrev: 41495d163mAAQakZ-2RbNfUsYgIMNA
2004-09-16 09:29:58 +00:00
cantab.net!aia21 2b745a3542 Write out dirty extent inodes in ntfs_inode_close() when closing a base
inode.

(Logical change 1.557)
2004-09-16 09:29:58 +00:00
cantab.net!aia21 11b4d56de2 Final fixes for ntfs_mft_record_alloc() that fell out from extensive testing.
BKrev: 41494c94eB_nDWV1ZAq9mlWHYWZxKA
2004-09-16 08:19:32 +00:00
cantab.net!aia21 ba4192c33c Final fixes for ntfs_mft_record_alloc() that fell out from extensive testing.
(Logical change 1.556)
2004-09-16 08:19:32 +00:00
cantab.net!aia21 ea45fe28cb Need to sync inodes before closing attributes or the umount fails.
BKrev: 41494c6cf3xZ6_T22478nJ8L--eDIA
2004-09-16 08:18:52 +00:00
cantab.net!aia21 93f8096673 Need to sync inodes before closing attributes or the umount fails.
(Logical change 1.555)
2004-09-16 08:18:52 +00:00
cantab.net!aia21 21248874a3 Update.
(Logical change 1.554)
2004-09-15 15:21:47 +00:00
cantab.net!aia21 154d44ded5 Finish off ntfs_mft_record_alloc() and its error handling.
BKrev: 41485e0bcRs9SyABvxabHxuN3S8How
2004-09-15 15:21:47 +00:00
cantab.net!aia21 9656a23b5e Finish off ntfs_mft_record_alloc() and its error handling.
(Logical change 1.554)
2004-09-15 15:21:47 +00:00
cantab.net!aia21 35d7e2b7f3 More code refactoring in ntfs_mft_record_alloc() together with more error
recovery code.

BKrev: 41483a70eUEA6m4YibD4f3LtUCXipw
2004-09-15 12:49:52 +00:00
cantab.net!aia21 caf2f0ad97 More code refactoring in ntfs_mft_record_alloc() together with more error
recovery code.

(Logical change 1.553)
2004-09-15 12:49:52 +00:00
cantab.net!aia21 f4af163c83 More work on ntfs_mft_record_alloc(): Factor out some code, start with
some error handling and a bug fix here or there...

BKrev: 4146ebad93IQRhTV0-qh5cm2_uMTFA
2004-09-14 13:01:33 +00:00
cantab.net!aia21 0de81b2f41 More work on ntfs_mft_record_alloc(): Factor out some code, start with
some error handling and a bug fix here or there...

(Logical change 1.552)
2004-09-14 13:01:33 +00:00
cantab.net!aia21 e74eeb2c0b Update ntfs_mft_record_alloc() prototype to reflect reality.
(Logical change 1.551)
2004-09-13 14:44:01 +00:00
cantab.net!aia21 b627f802bd First cut of ntfs_mft_record_alloc() ported from my old ntfs allocator that
I wrote several years ago.  Note this is completely untested and there is
no error handling at all yet.  I will be porting/adding the error handling
next.  (Anton)

BKrev: 4145b231iWDh2kpXUh1ulPv001Mm2w
2004-09-13 14:44:01 +00:00
cantab.net!aia21 8fdb6981ff First cut of ntfs_mft_record_alloc() ported from my old ntfs allocator that
I wrote several years ago.  Note this is completely untested and there is
no error handling at all yet.  I will be porting/adding the error handling
next.  (Anton)

(Logical change 1.551)
2004-09-13 14:44:01 +00:00
cantab.net!aia21 ad7acfacc2 Remove no longer needed forward declaration.
(Logical change 1.550)
2004-09-13 14:39:50 +00:00
cantab.net!aia21 4f63b84653 Export ntfs_inode_allocate().
BKrev: 4145b136SFdgwIOifbl6Qr0m3mj-LA
2004-09-13 14:39:50 +00:00
cantab.net!aia21 b766a97941 Export ntfs_inode_allocate().
(Logical change 1.550)
2004-09-13 14:39:50 +00:00
cantab.net!aia21 89306d3012 Remove vol->nr_mft_records and update all users. (Anton)
BKrev: 41457666lLrPSKGHfofyEGuWtqunEw
2004-09-13 10:28:54 +00:00
cantab.net!aia21 b82469ba50 Remove vol->nr_mft_records and update all users. (Anton)
(Logical change 1.549)
2004-09-13 10:28:54 +00:00
cantab.net!aia21 a5b6b89456 Update
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
cantab.net!aia21 dc4d7921e1 Cleanup the ntfs_mapping_pairs_build enhancement.
BKrev: 414568feNrnD8KlGyp0pnPL1hN-Iow
2004-09-13 09:31:42 +00:00
cantab.net!aia21 1159ab3656 Cleanup the ntfs_mapping_pairs_build enhancement.
(Logical change 1.548)
2004-09-13 09:31:42 +00:00
(none)!yura a95cff8404 update
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
(none)!yura 88228c1e42 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
BKrev: 4144996cMCQGevlUEAEKqnoCoJ6KgQ
2004-09-12 18:46:04 +00:00
(none)!yura 27e0e7a0c7 Add @stopped_at parameter to ntfs_mapping_pairs_build and adapt all callers.
(Logical change 1.547)
2004-09-12 18:46:04 +00:00
(none)!yura 64e1f672cf ntfs_inode_sync: write dirty attribute list to disk
(Logical change 1.546)
2004-09-12 11:00:06 +00:00
(none)!yura 0819f47293 new API: ntfs_attrlist_entry_add - add an attribute list attribute entry
(Logical change 1.546)
2004-09-12 11:00:06 +00:00
(none)!yura 893742e5c2 libntfs/attrlist.c
new API: ntfs_attrlist_entry_add - add an attribute list attribute entry
libntfs/inode.c
    ntfs_inode_sync: write dirty attribute list to disk



BKrev: 41442c36YT3aG199TQCym5eOhikRIg
2004-09-12 11:00:06 +00:00
(none)!yura d7f49f5880 added prototype for ntfs_attrlist_entry_add
(Logical change 1.546)
2004-09-12 11:00:06 +00:00