linux/fs/partitions
Jeff Mahoney 81a42d298d [DISKLABEL] SUN: Fix signed int usage for sector count
The current sun disklabel code uses a signed int for the sector count.
When partitions larger than 1 TB are used, the cast to a sector_t causes
the partition sizes to be invalid:

 # cat /proc/paritions | grep sdan
   66   112 2146435072 sdan
   66   115 9223372036853660736 sdan3
   66   120 9223372036853660736 sdan8

This patch switches the sector count to an unsigned int to fix this.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-08-26 17:55:55 -07:00
..
Kconfig [PATCH] enable mac partition label per default on pmac 2006-07-31 13:28:41 -07:00
Makefile [PATCH] devfs: Remove devfs from the partition code 2006-06-26 12:25:05 -07:00
acorn.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
acorn.h
amiga.c
amiga.h
atari.c
atari.h
check.c [PATCH] partitions: let partitions inherit policy from disk 2006-07-10 13:24:14 -07:00
check.h
efi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
efi.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm.h
karma.c [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
karma.h [PATCH] partitions: Read Rio Karma partition table 2006-01-16 23:15:29 -08:00
ldm.c
ldm.h
mac.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mac.h
msdos.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msdos.h
osf.c
osf.h
sgi.c
sgi.h
sun.c [DISKLABEL] SUN: Fix signed int usage for sector count 2006-08-26 17:55:55 -07:00
sun.h
ultrix.c fs/partitions/ultrix.c should #include "ultrix.h" 2005-11-08 16:49:14 +01:00
ultrix.h