[PARTITION] MSDOS: Fix Sun num_partitions handling.
authorMark Fortescue <mark@mtfhpc.demon.co.uk>
Thu, 26 Jul 2007 01:30:08 +0000 (18:30 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 30 Jul 2007 07:27:28 +0000 (00:27 -0700)
commitb84d879639f83d35d3fcd909222522c928bf974b
tree10ef0162543eca2b6107bd44646133a341777177
parentcce933bc831c451f48ca26e5b0d9bfdfbfb327f8
[PARTITION] MSDOS: Fix Sun num_partitions handling.

Correct the Solaris x86 number of partitions (slices) is a way that is
backward compatible with the earlier size.

This works without a new VTOC structure definition as the timestamp
and v_asciilabel fields in the VTOC are not used by the kernel yet.

Signed-off-by: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/partitions/msdos.c
include/linux/genhd.h