[PARTITION]: Sun/Solaris VTOC table corrections
authorMark Fortescue <mark@mtfhpc.demon.co.uk>
Thu, 26 Jul 2007 07:17:22 +0000 (00:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Jul 2007 07:27:31 +0000 (00:27 -0700)
commit3961bae0ac030a70ae2e0578270203889021f1a1
tree482c621f9d07027bcf1cac5be1e02943089ac63f
parentb65f0755fd08c92f377fb434076865284283e2c1
[PARTITION]: Sun/Solaris VTOC table corrections

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>
fs/partitions/sun.c
fs/partitions/sun.h