original_kernel/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
karma.h
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
ultrix.h