mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:26:48 +07:00
3961bae0ac
Start doing VTOC validation before using its contents. The validation is adjusted so as not to break existing setups that do not set the VTOC version, sanity and partition count entries. VTOC tables with more than 8 partitions will NOT be used. Signed-off-by: Mark Fortescue <mark@mtfhpc.demon.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
9 lines
196 B
C
9 lines
196 B
C
/*
|
|
* fs/partitions/sun.h
|
|
*/
|
|
|
|
#define SUN_LABEL_MAGIC 0xDABE
|
|
#define SUN_VTOC_SANITY 0x600DDEEE
|
|
|
|
int sun_partition(struct parsed_partitions *state, struct block_device *bdev);
|