block: Ensure physical block size is unsigned int
commit43e069893c8749d04924e12cd81ce10c583ae6be
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Oct 2010 19:18:03 +0000 (13 21:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:43:39 +0000 (21 12:43 -0700)
tree062dd1b5069a322371a38f4d743cdf66a633b904
parent63676c6866f8d4711a44968c8247f59fdae1e287
block: Ensure physical block size is unsigned int

commit 892b6f90db81cccb723d5d92f4fddc2d68b206e1 upstream.

Physical block size was declared unsigned int to accomodate the maximum
size reported by READ CAPACITY(16).  Make sure we use the right type in
the related functions.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/blk-settings.c
include/linux/blkdev.h