Commit Graph

49 Commits (eb27d2059f913f8c2215e4ac01cadb0c486ac2f2)

Author SHA1 Message Date
szaka eb27d2059f ntfs_attr_find: log all errors 2009-02-10 20:04:27 +00:00
szaka 24e47ff999 calloc -> ntfs_calloc 2009-02-10 13:50:18 +00:00
szaka e4bf04aeea ntfs_attr_open: fix named attribute memory leak in error cases (Jean-Pierre Andre) 2009-01-15 16:56:10 +00:00
szaka 86b9c82176 ntfs_external_attr_find: log all errors 2008-11-30 21:39:41 +00:00
szaka a1ca403e41 fix read potentially returning corrupt data when the hardware fails 2008-11-30 17:16:37 +00:00
szaka 5d2884b578 comment update, cleanup (Yura Pakhuchiy) 2008-07-15 17:11:17 +00:00
szaka d1f14ea752 ntfs_non_resident_attr_expand(): fix corruption during rollback (Yura Pakhuchiy) 2008-07-15 16:52:10 +00:00
szaka 64560ad1f4 ntfs_attr_add(): fix ->attrs_offset conversion on error path (Yura Pakhuchiy) 2008-07-15 16:05:05 +00:00
szaka 90b0f9b424 ntfs_attr_update_mapping_pairs(): error handling cleanup 2008-07-14 00:37:06 +00:00
szaka 61842b0bac ntfs_attr_update_mapping_pairs(): fix last ntfs_attr_update_meta() errno 2008-07-13 23:52:55 +00:00
szaka f4b5e8fb92 copyright update 2008-06-29 23:08:55 +00:00
szaka c6e1991749 new: use tabulated logging; add ntfs_log_enter() and ntfs_log_leave()
and convert the most commonly used functions
2008-06-29 22:06:38 +00:00
szaka 7bcb40b378 cleanup ntfs_attr_open() 2008-06-29 16:52:27 +00:00
szaka 2848f06bad fix memory leak when removing streams or xattrs (Jean-Pierre Andre) 2008-06-17 22:40:43 +00:00
szaka d2f30b4d43 fix corrupt attribute flags and compression unit detection 2008-05-28 12:04:38 +00:00
szaka 6a024394c6 fix mount/driver hangs/misbehaviours when the some attribute flags were corrupt 2008-05-24 14:38:36 +00:00
szaka e518ef07ad ntfs_attr_add(): fix adding attribute which can be resident and non-resident 2008-04-02 17:20:23 +00:00
szaka b06ba6ed11 ntfs_make_room_for_attr(): "no space" condition must be ENOSPC, not EINVAL 2008-04-02 11:46:38 +00:00
szaka df0177485b fix incorrect data and allocation sizes in index and inode FILE_NAME
attributes for some resident unnamed $DATA attributes and for which CHKDSK
reported minor inconsistencies.
2008-03-08 12:04:25 +00:00
szaka d4b91d350c posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-15 07:33:40 +00:00
szaka 061c6dd9d8 NAttrSetFlag(): don't log bogus errors 2007-10-28 11:13:00 +00:00
szaka b032c0e68b fix free space calculation for >1 TB volumes 2007-10-27 20:38:21 +00:00
szaka 6be9b754b6 factor out ntfs_attr_get_free_bits() 2007-10-27 20:10:34 +00:00
szaka f24a38f0d6 non-inline ntfs_fuse_is_named_data_stream & NAttr* functions: 500+ bytes saved 2007-10-25 22:22:24 +00:00
szaka 42444cdd94 fix 64-bitness printf format string compiler warnings (Jean-Pierre Andre) 2007-10-10 20:45:19 +00:00
szaka 925c1cff30 fix warnings 2007-10-08 22:02:38 +00:00
szaka d4b4b41191 fix: unwritten sparse file regions could get corrupted if the end of a
write wasn't aligned to cluster boundary.
2007-10-03 21:09:30 +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
szaka 1cf9c5957b ntfs_resident_attr_resize(), ntfs_non_resident_attr_expand(): log all errors 2007-07-08 14:56:11 +00:00
szaka 8000607d58 ntfs_attr_map_whole_runlist(): log failing inode 2007-04-22 20:56:36 +00:00
szaka 8a12e507c6 don't flood logs with ENOSPC errors (full disk) 2007-03-16 00:31:09 +00:00
szaka d7d38e82d9 fix: don't update ->name_offset if it would underflow 2007-02-06 15:11:53 +00:00
szaka 0a918f567f fix: invalid argument error when writing randomly into sparse files 2007-01-01 17:02:27 +00:00
szaka 13da6e3415 ntfs_attr_fill_hole: fix occasional high memory usage 2006-12-17 02:10:12 +00:00
szaka d9c2791bbd ntfs_attr_fill_hole(): factor out ntfs_attr_fill_zero() 2006-12-17 01:48:25 +00:00
szaka 94b94568e3 add ntfs_attr_remove(); convert its users 2006-11-08 21:36:29 +00:00
szaka 13ab497b7c ntfs_attr_rm(): fix inconsistent deallocation of *na; adapt its users 2006-11-08 20:00:28 +00:00
szaka ba63b7daca initial CVS import 2006-10-30 22:32:48 +00:00