Commit Graph

60 Commits

Author SHA1 Message Date
szaka
c32f2a4f59 ntfs_attr_pclose: fix uninitialized variable which may lead to an infinite
loop on a read-only file system (Erik Larsson, Jean-Pierre Andre)
2010-01-15 19:32:44 +00:00
szaka
5807572640 fix stat.h/attr.h related compilation errors (Jean-Pierre Andre) 2010-01-15 00:31:50 +00:00
szaka
51f768af3b fix non-resident TXF_DATA creation, despite its AttrDef definition,
which caused Vista and later not being able to access files, volumes
(Anton Altaparmakov, Erik Larsson, Jean-Pierre Andre, Szabolcs Szakacsits)
2010-01-15 00:04:23 +00:00
jpandre
892f763d31 Fixed cluster allocation when overwriting a hole in a sparse file 2009-09-29 18:52:02 +00:00
jpandre
88473752c5 Allowed creating holes in compressed files 2009-08-11 08:02:59 +00:00
jpandre
c79b3777ca Implemented backup/restoring of encrypted files (by Martin Bene) 2009-05-20 14:17:31 +00:00
jpandre
f41cf451f5 Set compression parameters before making data non resident 2009-04-25 12:06:40 +00:00
jpandre
c87fc027df Secured write position to compressed files 2009-04-25 12:02:20 +00:00
jpandre
e4136e654c Set the data flags in base attribute and all the extents 2009-04-08 19:15:29 +00:00
jpandre
2fbaecd759 Extended transparent compression support to sequential writing to compressed files 2009-04-03 13:33:24 +00:00
jpandre
03755a9ba5 Adapted to ntfs-3g-2009.4.4 2009-04-03 06:53:12 +00:00
jpandre
2a1d75a3da Adapted to ntfs-3g.2009.3.8 2009-03-27 09:10:00 +00:00
jpandre
224c2fcda2 Changed attribute name offset when there is no name (Faisal Puthuparackat) 2009-03-02 20:24:16 +00:00
jpandre
071b5f0cb8 Removed temporary code for comparing mapping pairs size to older version 2009-03-02 20:17:34 +00:00
jpandre
571c057d05 Fixed moving the standard information attribute to an extended MFT record (Szabolcs Szakacsits) 2009-02-27 08:15:06 +00:00
jpandre
ddfb2175a9 Improved creating gaps in sparse files 2009-02-13 10:37:53 +00:00
jpandre
93b695f1cc Adapted to ntfs-3g-2009.2.1 2009-02-12 20:32:21 +00:00
jpandre
2dc7362ba9 Improved computation of runlist for fragmented files O(n) instead of O(n*n) 2009-02-03 17:12:04 +00:00
jpandre
9a5e5bbfe3 Avoided logging of removal of non-existent extended attribute 2009-01-27 12:59:10 +00:00
jpandre
11216c6942 Adapted to ntfs-3g-2009.1.1 2009-01-23 11:11:44 +00:00
jpandre
9b996d31b9 Relocated code for setting/retrieving NTFS attribs 2009-01-17 08:37:17 +00:00
jpandre
ca6466c6bb Mapped a few NTFS internal data to extended attributes 2009-01-05 13:56:05 +00:00
jpandre
6faf38df12 Adapted to ntfs-3g.1.5130 2008-12-01 15:29:23 +00:00
jpandre
a58ff9073d Improved bit countings 2008-09-06 09:34:23 +00:00
jpandre
499e106341 Adapted to ntfs-3g.1.2812 2008-08-16 15:17:47 +00:00
jpandre
412838056a Adapted to ntfs-3g.1.2712 2008-07-13 17:55:57 +00:00
szaka
a6d8c6b1a6 new: use tabulated logging; add ntfs_log_enter() and ntfs_log_leave()
and convert the most commonly used functions
2008-06-30 00:13:23 +00:00
szaka
1098244bbf copyright update 2008-06-29 23:13:32 +00:00
jpandre
7c05f13884 Adapted to ntfs-3g-1.2531 2008-05-30 07:40:22 +00:00
jpandre
75a9b157f3 Adapted to ntfs-3g.1.2412 2008-04-14 15:49:28 +00:00
szaka
77e5ff36d1 ntfs_make_room_for_attr(): "no space" condition must be ENOSPC, not EINVAL
ntfs_attr_add(): fix adding attribute which can be resident and non-resident
2008-04-02 17:21:11 +00:00
jpandre
53fa335624 Adapted to ntfs-3g.1.2310 2008-03-10 15:35:54 +00:00
szaka
906637db9e posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-13 00:11:51 +00:00
jpandre
a8dc8655d0 Adjusted to v 1.1030 2007-10-29 16:28:33 +00:00
jpandre
a8a33f0bc3 Reverted back relay for free() and consequences on const ptrs 2007-10-09 13:33:11 +00:00
jpandre
0fcd72cf55 Cleaned code
- made a few arguments const where needed
- casted to long long arguments fprintf'ed with %lld
- added STREAM_SDS in names of const attributes not to be freed
2007-10-09 08:01:37 +00:00
szaka
4206ceddce fix warnings 2007-10-08 22:03:31 +00:00
jpandre
75f1f4c112 Upgraded to v1.1004 2007-10-06 14:34:49 +00:00
szaka
a4277b3d0f ntfs_attr_pwrite: write cluster size blocks if it's possible when expanding
attributes. This will cause the kernel not to seek and read disk blocks for
filling the end of the buffer which increases write speed at least by 2-11
fold typically. (David Fox, Szabolcs Szakacsits)
2007-09-09 21:39:37 +00:00
szaka
84be568f75 ntfs_attr_pread: log all errors 2007-07-20 21:16:34 +00:00
szaka
b5973632e9 ntfs_attr_pwrite, ntfs_attr_mst_pwrite: log errors 2007-07-18 22:44:11 +00:00
szaka
7444b30fc4 ntfs_attr_find_in_attrdef: log all errors 2007-07-16 20:36:21 +00:00
szaka
ea53c7b5fc ntfs_attr_add: log all errors 2007-07-16 19:59:52 +00:00
szaka
472f6fc991 ntfs_attr_size_bounds_check, ntfs_non_resident_attr_record_add: log errors 2007-07-16 19:31:32 +00:00
szaka
396899bb8e ntfs_attr_pwrite: fix missing error handling 2007-07-15 22:14:14 +00:00
szaka
f45af6814c ntfs_attr_record_move_away(): log all errors 2007-07-13 23:04:40 +00:00
szaka
52d473a5ef ntfs_attr_update_mapping_pairs(): log all errors 2007-07-13 21:33:34 +00:00
szaka
0cee6bc4bb remove redundant ntfs_attr_get_search_ctx() error logging 2007-07-13 20:05:48 +00:00
szaka
be0cdbb04a ntfs_attr_update_mapping_pairs: refactoring 2007-07-11 22:50:39 +00:00
szaka
c214b9c11c No need to check for ENOSPC because ntfs_log_perror() does it now 2007-07-08 20:45:14 +00:00