diff options
author | Mark Fortescue <mark@mtfhpc.demon.co.uk> | 2007-07-25 18:30:08 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-30 00:27:28 -0700 |
commit | b84d879639f83d35d3fcd909222522c928bf974b (patch) | |
tree | 10ef0162543eca2b6107bd44646133a341777177 /include/linux | |
parent | cce933bc831c451f48ca26e5b0d9bfdfbfb327f8 (diff) | |
download | linux-3.10-b84d879639f83d35d3fcd909222522c928bf974b.tar.gz linux-3.10-b84d879639f83d35d3fcd909222522c928bf974b.tar.bz2 linux-3.10-b84d879639f83d35d3fcd909222522c928bf974b.zip |
[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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/genhd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index 9756fc102a8..a47b8025d39 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h @@ -264,7 +264,7 @@ static inline void set_capacity(struct gendisk *disk, sector_t size) #ifdef CONFIG_SOLARIS_X86_PARTITION -#define SOLARIS_X86_NUMSLICE 8 +#define SOLARIS_X86_NUMSLICE 16 #define SOLARIS_X86_VTOC_SANE (0x600DDEEEUL) struct solaris_x86_slice { |