We can use an anonymous union here... we're more or less gcc-specific
anyway, and it cleans up the namespace a lot.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
fs->fs_info = sbi;
this_fs = fs;
- sectors_per_fat = fat.bxFATsecs ? : fat.u.fat32.bxFATsecs_32;
+ sectors_per_fat = fat.bxFATsecs ? : fat.fat32.bxFATsecs_32;
total_sectors = fat.bxSectors ? : fat.bsHugeSectors;
sbi->fat = fat.bxResSectors;
uint8_t fstype[8];
} __attribute__ ((packed)) fat32;
- } __attribute__ ((packed)) u;
+ } __attribute__ ((packed));
uint8_t pad[422]; /* padding to 512 Bytes (one sector) */