block: Ensure physical block size is unsigned int
commit892b6f90db81cccb723d5d92f4fddc2d68b206e1
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Oct 2010 19:18:03 +0000 (13 21:18 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 13 Oct 2010 19:19:12 +0000 (13 21:19 +0200)
treea4cedbff388c2cc0659c76f429003b856ef17943
parentc49c06e4960949a9bced708858433fcf6ca36a9c
block: Ensure physical block size is unsigned int

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>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-settings.c
include/linux/blkdev.h