cantab.net!aia21
27a017de70
Update library version for source/binary incompatible API changes.
...
(Logical change 1.534)
2004-09-06 09:44:16 +00:00
cantab.net!aia21
06086ae5c7
Add start_vcn parameter to ntfs_get_size_for_mapping_pairs() and
...
ntfs_mapping_pairs_build() and adapt all callers.
(Logical change 1.533)
2004-09-06 09:27:16 +00:00
!uv
da308fb631
Inline macros that are only used once.
...
(Logical change 1.524)
2004-09-03 13:36:27 +00:00
!uv
76236c5916
Fix a segfault that crept in to win32_io.c due to being too rush.
...
(Logical change 1.523)
2004-09-03 12:42:03 +00:00
!uv
afa5afcb06
Rewrite in order to overcome the following limitations:
...
ReadFile/WriteFile/SetPointer require aligned inputs (sector/memort wise)
A volume does not have to cover the entire partition.
While a volume is locked, its contents are not accessible via the disk handle.
(Logical change 1.522)
2004-09-03 12:09:09 +00:00
cantab.net!aia21
434d799fc9
Bump libntfs version number.
...
(Logical change 1.521)
2004-09-03 09:42:22 +00:00
cantab.net!aia21
453d87b43f
Update for 1.9.3 release.
...
(Logical change 1.520)
2004-09-03 09:30:16 +00:00
cantab.net!aia21
82b45caa4b
Change ntfs_get_size_for_mapping_pairs() and ntfs_mapping_pairs_build()
...
to treat a NULL runlist to mean empty runlist. (Anton)
(Logical change 1.519)
2004-08-31 15:37:05 +00:00
cantab.net!aia21
128d9a1001
Auto merged
...
2004/08/31 16:12:21+01:00 cantab.net!aia21
- Change ntfs_attr_make_non_resident() to only allocate clusters and attempt
to write out data if the attribute size is not zero. (Anton)
- Fix ntfs_non_resident_attr_expand() to use ntfs_attr_map_whole_runlist()
instead of ntfs_attr_map_runlist(). (Anton)
(Logical change 1.519)
2004-08-31 15:37:05 +00:00
cantab.net!aia21
fcdb401959
Exclude
...
(Logical change 1.518)
2004-08-31 15:33:48 +00:00
(none)!yura
cd3f2379db
improvement to ntfs_non_resident_attr_expand:
...
expand multi extent attributes if we don't need to allocate new mft records to perform this.
(Logical change 1.517)
2004-08-31 14:05:19 +00:00
cantab.net!aia21
6fb1ec5e6b
Fix memory leak. (Christophe Grenier)
...
(Logical change 1.515)
2004-08-28 21:26:52 +00:00
cantab.net!aia21
627bd9686f
Reapply changes that apparently got lost in Yuval's merge.
...
(Logical change 1.510)
2004-08-20 15:16:21 +00:00
cantab.net!aia21
4341f051c4
Revert a change from Yuval where a bitfield was converted to a char.
...
(Logical change 1.509)
2004-08-20 14:49:42 +00:00
!uv
c8dd770817
Warning fixes: change of variable type and no need to inline.
...
(Logical change 1.508)
2004-08-20 12:30:34 +00:00
!uv
ae80043076
printf format fix.
...
Reformattion a recent debug output change into a common style.
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
0106f54ff0
printf format fix.
...
(Logical change 1.507)
2004-08-20 12:18:22 +00:00
!uv
86323fac66
Comment #includes by configure's #ifdef HAVE_*
...
(Logical change 1.506)
2004-08-20 12:04:47 +00:00
!uv
682b8dab6b
Use simpler C syntax for aligning a struct.
...
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv
97df123793
Reorder struct members in order to align to 32 and 64 bit bounderies.
...
(Logical change 1.505)
2004-08-20 12:01:17 +00:00
!uv
b15ad70b99
When <mntent.h> does not exist, some parameters may not be used.
...
(Logical change 1.504)
2004-08-20 11:58:24 +00:00
cantab.net!aia21
39b62e050e
Move Sprintf,Dputs,Dprintf,Dperror to be defines and call proper
...
non-inlined functions which are now in debug.c.
(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21
d33e7eaae4
Fix fallout from previous error output changes.
...
(Logical change 1.503)
2004-08-19 21:01:11 +00:00
cantab.net!aia21
930e056c02
Use Sprintf instead of doing it by hand.
...
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21
380f4f1ce1
Silence compiler warnings.
...
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21
4910ed561c
Change all output to only appear if configure with --enable-debug by
...
using Dputs/Dprintf instead of fprintf(stderr,.
(Logical change 1.502)
2004-08-18 10:27:49 +00:00
cantab.net!aia21
183985792c
Only need two spare runlist elements when realocating memory,
...
not three since we no longer add a starting element.
(Logical change 1.501)
2004-08-17 21:07:00 +00:00
cantab.net!aia21
129a7f0399
Fix ntfs_cluster_alloc() to use LCN_RL_NOT_MAPPED rather
...
than LCN_ENOENT as runlist terminator.
Also, make it not create a LCN_RL_NOT_MAPPED element at
the beginning.
(Logical change 1.500)
2004-08-17 20:45:18 +00:00
cantab.net!aia21
24d811c682
Fix some bugs in error recovery code path (runlist unterminated and one bit was not recovered).
...
(Logical change 1.498)
2004-08-15 21:04:22 +00:00
flatcap.org!ntfs
a61808707f
minor build fix
...
(Logical change 1.494)
2004-08-12 13:33:25 +00:00
cantab.net!aia21
aa85d7a8b1
The long waited device-level write support on
...
windows. (Yuval)
(Logical change 1.491)
2004-08-12 08:21:50 +00:00
cantab.net!aia21
98b3b601cf
Use the NDev* macros in win32_io.c too. (Yuval)
...
(Logical change 1.489)
2004-08-12 08:08:25 +00:00
cantab.net!aia21
1fd33a1326
Change the win32_open function to open volumes
...
instead of partitions when possible, and use the windows volume
locking/dismounting mechanism on R/W open to prevent data corruption. (Yuval)
(Logical change 1.488)
2004-08-12 08:06:25 +00:00
cantab.net!aia21
5038a7e1b9
Fix debug output issues in win32_io.c (Yuval)
...
(Logical change 1.487)
2004-08-12 07:58:38 +00:00
flatcap.org!ntfs
1be6deedaf
deltaxcn will only go as high as (max_cluster-1) so the comparisons below were off by one
...
(Logical change 1.485)
2004-08-10 10:45:07 +00:00
cantab.net!aia21
c6d73395e4
Refix the fix to the fix in runlist.c highest_vcn == 0 handling.
...
(Logical change 1.483)
2004-08-09 13:31:10 +00:00
cantab.net!aia21
01e060874b
ntfs_mapping_pairs_decompress for highest_vcn == 0.
...
(Logical change 1.479)
2004-08-05 21:28:14 +00:00
(none)!yura
d3178859aa
bugfix for ntfs_mapping_pairs_decompress for highest_vcn == 0
...
(Logical change 1.478)
2004-08-05 19:35:51 +00:00
(none)!yura
a40f1c30b6
* bugfix ntfs_attr_truncate: determine what we need to do with attribute (expand or shrink) from
...
na->data_size not from na->initialized_size
* revert code and comment update about highest in ntfs_non_resident_attr_{shrink,expand}, because
I fixed that bug
(Logical change 1.478)
2004-08-05 19:35:51 +00:00
(none)!yura
9be1951a31
Restructure of error handling in ntfs_non_resident_attr_expand
...
Comments update
(Logical change 1.477)
2004-08-05 18:41:19 +00:00
(none)!yura
d99c39d980
fixing bugs in ntfs_non_resident_attr_{shrink,expand} that caused not updating highest_vcn,
...
if it was equal to 0
(Logical change 1.476)
2004-08-05 13:20:11 +00:00
cantab.net!aia21
5ece0477c8
Fix a bug in the cluster allocator.
...
Also several debug output bugs.
(Logical change 1.475)
2004-08-05 10:15:54 +00:00
(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
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
c1427ce9c9
Move variable declaration to top of statement block.
...
(Logical change 1.472)
2004-08-04 19:17:50 +00:00
(none)!yura
bb8ee06cad
small updates
...
(Logical change 1.471)
2004-08-04 09:47:41 +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
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
ad91c15528
various updates and fixes
...
(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