Commit Graph

14 Commits (e970b57c7408e9ed21ba1f91f657e9c5cd2cd413)

Author SHA1 Message Date
Erik Larsson d61f8615d9 Replace all le64 usage of the '!=' operation with "!le64_eq(...)". 2016-01-28 08:28:30 +01:00
Erik Larsson 59a05b5c34 Replace all le16 usage of the '!=' operation with "!le16_eq(...)". 2016-01-28 08:28:25 +01:00
Erik Larsson 48cb23265b Fix code to use const_cpu_to_X/const_X_to_cpu macros for constants.
This enables the compiler to optimize this code in cases where compiler
support for endianness swapping is not present.
2015-12-21 23:21:00 +01:00
Jean-Pierre André 15f300412a Fixed displaying the correct sector number in error message
When opening a volume, the availability of the last sector is checked,
but the error message mentioned a wrong sector.
2014-03-11 10:37:27 +01:00
Erik Larsson 9337e0a069 bootsect.c: Don't allow negative start clusters for $MFT/$MFTMirr.
Negative values for mft_lcn / mftmirr_lcn don't make any sense and must
be detected as corruptions.
2012-09-24 12:57:22 +02:00
jpandre 2a1d75a3da Adapted to ntfs-3g.2009.3.8 2009-03-27 09:10:00 +00:00
szaka 1098244bbf copyright update 2008-06-29 23:13:32 +00:00
jpandre 4f03c199df Adapted to ntfs-3g-1.2506 2008-05-14 08:27:55 +00:00
szaka 4e1693d0ef Don't calculate bootsector checksum, ntfs doesn't use it and it's often off 2007-02-20 19:09:32 +00:00
szaka 75c60e5486 fix 64-bit warnings (Yuval) 2007-01-09 21:22:58 +00:00
szaka 2bc71e4ee7 ntfs_boot_sector_parse: check sectors value & last sector seekability 2006-12-09 00:02:45 +00:00
szaka 45630fa43c ntfs_boot_sector_is_ntfs/ntfs_boot_sector_parse: log errors 2006-12-08 23:55:10 +00:00
szaka 40ea28867d unconditionally log errors 2006-11-10 23:02:18 +00:00
szaka ba63b7daca initial CVS import 2006-10-30 22:32:48 +00:00