Commit Graph

1638 Commits (b2b13a1856a9d02fd491ec0a1b2cbe7a0cd0f82a)
 

Author SHA1 Message Date
(none)!yura b2b13a1856 attrib.c::ntfs_non_resident_attr_expand
added code to restore mft record, if we failed build mapping pairs

(Logical change 1.474)
2004-08-05 09:32:27 +00:00
cantab.net!aia21 0be5a0a185 attrib.c:
Fix error code paths in ntfs_non_resident_attr_expand() and also
  fix starting lcn determination and set it to -1 if
  there are no valid lcns in the attribute, i.e. let the
  allocator choose in this case.

BKrev: 411148aeLaS0UHZJlYx3McVAMakLSA
2004-08-04 20:35:58 +00:00
cantab.net!aia21 bde8048cac Fix error code paths in ntfs_non_resident_attr_expand() and also
fix starting lcn determination and set it to -1 if
there are no valid lcns in the attribute, i.e. let the
allocator choose in this case.

(Logical change 1.473)
2004-08-04 20:35:58 +00:00
cantab.net!aia21 561e2958cb attrib.c:
Move variable declaration to top of statement block.

BKrev: 4111365eg2C5VznWtbJqwbo6SlDmTA
2004-08-04 19:17:50 +00:00
cantab.net!aia21 c1427ce9c9 Move variable declaration to top of statement block.
(Logical change 1.472)
2004-08-04 19:17:50 +00:00
(none)!yura 37350877c5 small updates to attrib.c
BKrev: 4110b0bdCrpjAxyOBsm5mfUABJqv9w
2004-08-04 09:47:41 +00:00
(none)!yura bb8ee06cad small updates
(Logical change 1.471)
2004-08-04 09:47:41 +00:00
(none)!yura ba508305e3 update
(Logical change 1.470)
2004-08-03 17:53:48 +00:00
(none)!yura 0c92486d08 make ntfs_cluster_free not fail if ntfs_attr_find_vcn returned ENOENT
(Logical change 1.470)
2004-08-03 17:53:48 +00:00
(none)!yura b996e483e3 libntfs/attrib.c
bugfix in ntfs_attr_map{_whole_,_}runlist: make it not fail if runlist already mapped
libntfs/lcnalloc.c
    make ntfs_cluster_free not fail if ntfs_attr_find_vcn returned ENOENT

BKrev: 410fd12cx3EaAt8BOE-J5zqvaGExBA
2004-08-03 17:53:48 +00:00
(none)!yura 73c333a681 bugfix in ntfs_attr_map{_whole_,_}runlist: make it not fail if runlist already mapped
(Logical change 1.470)
2004-08-03 17:53:48 +00:00
(none)!yura 32f14d38a7 update ChangeLog
BKrev: 410e7540KrFfaWTKb9yoAL0NBusB3A
2004-08-02 17:09:20 +00:00
(none)!yura d2743d4216 update
(Logical change 1.469)
2004-08-02 17:09:20 +00:00
(none)!yura ad91c15528 various updates and fixes
(Logical change 1.468)
2004-08-02 16:56:34 +00:00
(none)!yura bf6f920115 libntfs/attrib.c
* various updates and fixes
libntfs/lcnalloc.c
    * bugfix for ntfs_cluster_alloc when @count = 0.
    * add ntfs_clster_free_from_rl and make ntfs_cluster_alloc use it

BKrev: 410e7242eGKUorRYb_6nagFZRimo9A
2004-08-02 16:56:34 +00:00
(none)!yura 3abf487908 add ntfs_clster_free_from_rl prototype
(Logical change 1.468)
2004-08-02 16:56:34 +00:00
(none)!yura 910855a174 * bugfix for ntfs_cluster_alloc when @count = 0.
* add ntfs_clster_free_from_rl and make ntfs_cluster_alloc use it

(Logical change 1.468)
2004-08-02 16:56:34 +00:00
(none)!yura 931b78f491 add ntfscp to build
BKrev: 410e2e01FrtLB9jtLEOrAbifdUbXzw
2004-08-02 12:05:21 +00:00
(none)!yura 03f1839241 add ntfscp to build
(Logical change 1.467)
2004-08-02 12:05:21 +00:00
(none)!yura e6702c50e8 include/ntfs/lcnalloc.[ch]
Add a @start_vcn parameter to lcnalloc.[ch]::ntfs_cluster_alloc

libntfs/attrib.c
    Add new function attrib.c::ntfs_non_resident_attr_expand, thus we can expand non resident attributes

BKrev: 410cce8arlxZNdQ2OY5Oisg_nANE3w
2004-08-01 11:05:46 +00:00
(none)!yura f81543dbc9 Update
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
(none)!yura d1ecde1e2d Fix spelling
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
(none)!yura 70bfea1080 Add new function attrib.c::ntfs_non_resident_attr_expand, thus we can expand non resident attributes
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
(none)!yura 50b9026628 Add a @start_vcn parameter to lcnalloc.[ch]::ntfs_cluster_alloc
(Logical change 1.466)
2004-08-01 11:05:46 +00:00
(none)!yura ebeac904ba add ntfscp to ignore list
(Logical change 1.465)
2004-07-30 13:00:24 +00:00
(none)!yura b92c24f0ae New utility - ntfscp.
libntfs/attrib.c: bugfix for ntfs_attr_size_bounds_check

BKrev: 410a4668fcSXLpwrIJvgGhdNXGsEYQ
2004-07-30 13:00:24 +00:00
(none)!yura 1ce46a27b1 Initial revision 2004-07-30 13:00:24 +00:00
(none)!yura d2fd32b481 Fix bug in ntfs_attr_size_bounds_check that caused it always fail if no maximum limit for attribute size
(Logical change 1.465)
2004-07-30 13:00:24 +00:00
(none)!yura 6c71138294 (Logical change 1.465) 2004-07-30 13:00:24 +00:00
flatcap.org!ntfs 6968c5bc66 truncate option
(Logical change 1.464)
2004-07-15 18:28:05 +00:00
flatcap.org!ntfs f76bf5b5fa SCCS merged
2004/07/15 19:21:58+01:00 flatcap.org!ntfs
ntfsundelete truncate option

(Logical change 1.464)
2004-07-15 18:28:05 +00:00
flatcap.org!ntfs 387bb6c5cd Merge
2004/07/15 19:21:58+01:00 flatcap.org!ntfs
ntfsundelete: Thanks to mabs.  If undelete is confident about the size of a deleted file, the "--truncate" option will recover exactly that amount of data.  The default is to round up the size to the nearest cluster.

BKrev: 40f6ccb5SCzucLc1iVaA_LGMf1eQiw
2004-07-15 18:28:05 +00:00
cantab.net!aia21 bb757d9012 Update for Yuval's win32 changes.
(Logical change 1.463)
2004-07-15 09:50:08 +00:00
cantab.net!aia21 3297e348b1 Update ChangeLog for Yuval's win32 changes.
BKrev: 40f65350NKnTsE3Pjtb1qytVuZIE0g
2004-07-15 09:50:08 +00:00
cantab.net!aia21 faa7f82c0c Remove 2 unused functions.
(Logical change 1.462)
2004-07-15 09:43:09 +00:00
cantab.net!aia21 51c0cb5fcd Remove 2 unused functions (libntfs/win32_io.c). (Yuval)
BKrev: 40f651adkTKbejCDRqQyXl-Ea41k2A
2004-07-15 09:43:09 +00:00
cantab.net!aia21 d3007d5542 Add nice comments to functions.
(Logical change 1.461)
2004-07-15 09:41:47 +00:00
cantab.net!aia21 203365d140 Add nice comments to functions (libntfs/win32_io.c). (Yuval)
BKrev: 40f6515bNFnQbSXIq8-3D1RzbGMoVA
2004-07-15 09:41:47 +00:00
cantab.net!aia21 e2b3e1c7e2 Implement ntfs_device_win32_stat(). (Yuval)
BKrev: 40f65112kzadGJ_BNlusLftSdMvvNg
2004-07-15 09:40:34 +00:00
cantab.net!aia21 2604474716 Implement ntfs_device_win32_stat().
(Logical change 1.460)
2004-07-15 09:40:34 +00:00
cantab.net!aia21 09ffab4224 Implement ntfs_device_win32_sync(). (Yuval)
BKrev: 40f6503fWhRVQKdnM9a8qiThOT56Bg
2004-07-15 09:37:03 +00:00
cantab.net!aia21 40d7371812 Implement ntfs_device_win32_sync().
(Logical change 1.459)
2004-07-15 09:37:03 +00:00
cantab.net!aia21 0d5f1fdb3e Re-factor the existing ntfs_device_win32_open(). (Yuval)
BKrev: 40f64fceuQ22VqwuFd2azoFK3yjgtA
2004-07-15 09:35:10 +00:00
cantab.net!aia21 0dfe86e663 Re-factor the existing ntfs_device_win32_open().
(Logical change 1.458)
2004-07-15 09:35:10 +00:00
cantab.net!aia21 8b5ea751ef Implement ntfs_device_win32_ioctl(). (Yuval)
BKrev: 40f64e69VLLHdZ7_i-b8AHMcTd-duw
2004-07-15 09:29:13 +00:00
cantab.net!aia21 3b3ac7b234 Implement ntfs_device_win32_ioctl().
(Logical change 1.457)
2004-07-15 09:29:13 +00:00
cantab.net!aia21 47d78b7197 Fix Yuval's last patch: runlist_element is not a struct it is a typedef
so renamed it to the struct name which is _runlist_element. (Anton)

BKrev: 40f3fce98cr9Bx9kKnLFaGFVqi4S8Q
2004-07-13 15:16:57 +00:00
cantab.net!aia21 aa4542d8f4 Fix Yuval's last patch: runlist_element is not a struct it is a typedef
so renamed it to the struct name which is _runlist_element.

(Logical change 1.456)
2004-07-13 15:16:57 +00:00
cantab.net!aia21 2198f29e89 include/ntfs/debug.h
Remote attrib.h include so win32_io.c can include debug.h. (Yuval)
libntfs/debug.c
    Include attrib.h before debug.h as debug.h no longer includes attrib.h. (Yuval)
libntfs/win32_io.c
    Include debug.h and remove duplicated code. (Yuval)

BKrev: 40f3fa2bfK8Ztgw7LQX8xD6Kptf63Q
2004-07-13 15:05:15 +00:00
cantab.net!aia21 41121112e5 Remote attrib.h include so win32_io.c can include debug.h. (Yuval)
(Logical change 1.455)
2004-07-13 15:05:15 +00:00