Author: fireball Date: Fri Jan 23 04:07:15 2009 New Revision: 39031
URL: http://svn.reactos.org/svn/reactos?rev=39031&view=rev Log: - Fix FatValidSectorsPerCluster, otherwise it ended up always being true for any sectors amount.
Modified: trunk/reactos/drivers/filesystems/fastfat_new/fat.h
Modified: trunk/reactos/drivers/filesystems/fastfat_new/fat.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat_new/fat.h [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat_new/fat.h [iso-8859-1] Fri Jan 23 04:07:15 2009 @@ -132,7 +132,7 @@ (!((xBytes) & ((xBytes)-1)) && (xBytes)>=0x80 && (xBytes)<=0x1000)
#define FatValidSectorsPerCluster(xSectors) \ - (!((xSectors) & ((xSectors)-1)) && (xSectors)>=0 && (xSectors)<=0x80) + (!((xSectors) & ((xSectors)-1)) && (xSectors)>0 && (xSectors)<=0x80)
typedef struct _PACKED_BOOT_SECTOR {