Files
twx-linux/fs
Jeff Mahoney d2b85a5a40 [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.

Eric Sandeen also submitted the same patch.

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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
2006-11-09 11:31:23 +01:00
..
2006-01-11 18:42:13 -08:00
2006-01-14 18:25:19 -08:00
2006-08-11 22:43:42 +02:00
2006-01-18 19:20:23 -08:00
2006-03-09 19:47:37 -08:00
2006-05-01 12:03:43 -07:00
2006-02-03 08:32:04 -08:00
2006-01-11 18:42:13 -08:00
2006-03-08 16:46:08 -08:00
2006-03-08 14:14:01 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-03-07 09:16:35 -08:00
2006-03-08 14:14:01 -08:00
2006-10-13 17:58:30 +02:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-02-03 08:32:11 -08:00
2006-08-30 22:55:59 +02:00
2006-03-08 14:03:09 -08:00
2006-01-11 18:42:13 -08:00
2006-02-17 13:59:28 -08:00
2006-02-11 21:41:10 -08:00
2006-02-22 09:39:02 -08:00