Commit Graph

71 Commits (fd8e63faa3f31e308b9f567322a5337ca3d9fd0b)

Author SHA1 Message Date
szaka fd8e63faa3 ntfs_attr_pwrite: fix potential corruption and crash after partial write 2009-03-30 11:02:24 +00:00
szaka 895b64f415 fix "no space on device" error during file creation introduced in 2009.3.6
(Jean-Pierre Andre, Szabolcs Szakacsits)
2009-03-25 20:52:24 +00:00
szaka 31a807d4fd enlarge INDEX_ROOT if ATTRIBUTE_LIST addition will be avoidable 2009-03-22 13:32:34 +00:00
szaka 6b04b569ee don't move INDEX_ROOT to an extent MFT record 2009-03-22 00:08:50 +00:00
szaka bf661570a5 ntfs_attr_pread: fix wrong variable type (Jean-Pierre Andre) 2009-03-18 00:56:28 +00:00
szaka 647d06a434 ntfs_attr_pwrite: fix wrong variable type 2009-03-18 00:53:21 +00:00
szaka 77096a387a ntfs_attr_pwrite: cleanup 2009-03-05 23:10:22 +00:00
szaka 24b4391bc6 ntfs_attr_pwrite: fix rounding condition 2009-03-05 23:04:08 +00:00
szaka 705cd1c22f ntfs_attr_pwrite: fix attribute initialized size condition (Jean-Pierre Andre) 2009-03-05 22:50:16 +00:00
szaka 13dc794688 fix all 64-bit format string warnings 2009-03-03 19:53:14 +00:00
szaka c3c4d9080b ntfs_attr_map_whole_runlist: cleanup, tabulated logging 2009-03-03 18:55:34 +00:00
szaka 5068137689 ntfs_non_resident_attr_expand: tabulated logging 2009-03-03 18:44:26 +00:00
szaka 893ccb0e40 explicit declaration of ntfs_resident_attr_resize 2009-03-03 01:37:56 +00:00
szaka a8df23cfa8 ntfs_resident_attr_resize, ntfs_attr_truncate: tabulated logging 2009-03-03 01:34:52 +00:00
szaka 1e43ec0fde fix: never move the standard information attribute into an extended MFT record (Faisal Puthuparackat, Szabolcs Szakacsits) 2009-02-27 02:33:05 +00:00
szaka fbc392830c ntfs_inode_free_space: factor out ntfs_attr_position 2009-02-26 23:41:32 +00:00
szaka e333c71e63 speed up mount time 2009-02-25 00:04:50 +00:00
szaka c459836f2f ntfs_attr_pwrite: don't convert EIO to EOPNOTSUPP 2009-02-16 22:32:22 +00:00
szaka 27dfa1a105 ntfs_external_attr_find: fix crash when extent inode can't be opened (Erik Larsson, Szabolcs Szakacsits) 2009-02-10 21:56:48 +00:00
szaka ff7940b7e7 ntfs_external_attr_find: remove redundant error logging 2009-02-10 20:29:27 +00:00
szaka a400e4c7f0 ntfs_external_attr_find: log all errors 2009-02-10 20:16:48 +00:00
szaka 6a3da7101b ntfs_attr_lookup: log all errors 2009-02-10 20:06:29 +00:00
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