From: John Hodge Date: Sun, 4 Jul 2010 03:27:08 +0000 (+0800) Subject: Forgot common.h for NTFS X-Git-Tag: rel0.06~124 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=356ff4d71c6f5753e7a13473145c45a54dc5d8cf;p=tpg%2Facess2.git Forgot common.h for NTFS --- diff --git a/Modules/Filesystems/NTFS/common.h b/Modules/Filesystems/NTFS/common.h index 8d2a9ecd..8456910e 100644 --- a/Modules/Filesystems/NTFS/common.h +++ b/Modules/Filesystems/NTFS/common.h @@ -19,6 +19,7 @@ typedef struct sNTFS_Disk { int FD; + int CacheHandle; int ClusterSize; Uint64 MFTBase; @@ -58,7 +59,7 @@ typedef struct sNTFS_BootSector Uint8 Padding[512-72]; -} tNTFS_BootSector; +} PACKED tNTFS_BootSector; /** * FILE header, an entry in the MFT @@ -100,7 +101,7 @@ typedef struct sNTFS_FILE_Header } All; } OSDep; -} tNTFS_FILE_Header; +} PACKED tNTFS_FILE_Header; /** * File Attribute, follows the FILE header @@ -140,6 +141,6 @@ typedef struct sNTFS_FILE_Attrib // Data Runs } NonResident; }; -} tNTFS_FILE_Attrib; +} PACKED tNTFS_FILE_Attrib; #endif