mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
![Mark Fortescue](/assets/img/avatar_default.png)
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>
8 lines
196 B
C
8 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);
|