block: Stop using byte offsets
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Jan 2010 08:21:51 +0000 (03:21 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 Jan 2010 13:30:09 +0000 (14:30 +0100)
commite03a72e13648ac6277bf2bab6b8324d51f89c0fa
treea01a2e072a5b225f22bd8bfa75f5270a527a4e4b
parentce289321b7dc1eb108e3df0dec872b7429ef49f7
block: Stop using byte offsets

All callers of the stacking functions use 512-byte sector units rather
than byte offsets.  Simplify the code so the stacking functions take
sectors when specifying data offsets.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-settings.c
fs/partitions/check.c
include/linux/blkdev.h