linux-sg2042/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amiga.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amiga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atari.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atari.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
check.c [PATCH] partitions: let partitions inherit policy from disk 2006-07-10 13:24:14 -07:00
check.h [PATCH] small partitions/msdos cleanups 2005-06-25 16:24:59 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ldm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msdos.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msdos.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
osf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
osf.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun.c [DISKLABEL] SUN: Fix signed int usage for sector count 2006-08-26 17:55:55 -07:00
sun.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ultrix.c fs/partitions/ultrix.c should #include "ultrix.h" 2005-11-08 16:49:14 +01:00
ultrix.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00