diff options
author | Phillip Susi <psusi@ubuntu.com> | 2014-03-17 22:07:55 -0400 |
---|---|---|
committer | Phillip Susi <psusi@ubuntu.com> | 2014-04-18 12:55:21 -0400 |
commit | 80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12 (patch) | |
tree | 5e5396f7d88cbc096f5049f4687ce7a5b17507ef /libparted/fs/fat/fat.h | |
parent | d0a4cc1b57750a92afb48b229e4791154afa322b (diff) | |
download | parted-80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12.tar.gz |
Fix filesystem detection on non 512 byte sectors
Enable probing for filesystems with non 512 byte sectors, and fix up each
filesystem to correctly handle that. Remove unused field from the fs type
structure listing acceptable sector sizes.
Diffstat (limited to 'libparted/fs/fat/fat.h')
-rw-r--r-- | libparted/fs/fat/fat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/fs/fat/fat.h b/libparted/fs/fat/fat.h index 437a020..2265871 100644 --- a/libparted/fs/fat/fat.h +++ b/libparted/fs/fat/fat.h @@ -84,8 +84,8 @@ struct __attribute__ ((packed)) _FatDirEntry { }; struct _FatSpecific { - FatBootSector boot_sector; /* structure of boot sector */ - FatInfoSector info_sector; /* fat32-only information sector */ + FatBootSector *boot_sector; /* structure of boot sector */ + FatInfoSector *info_sector; /* fat32-only information sector */ int logical_sector_size; /* illogical sector size :-) */ PedSector sector_count; |