]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite4dadc983822c586632eb82b1f720181f504a92f
tree482c621f9d07027bcf1cac5be1e02943089ac63f
parent88b8f4566e9b50f26b0cf726dadfeef154b54f91
[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