]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
block: move capacity from disk to part0
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:56:07 +0000 (19:56 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:07 +0000 (08:56 +0200)
commit80795aefb76d10c5d698e60c7e7750b5330787da
treef22a55483cb2fe77580ee1507c1124bc73b93c3d
parentb5d0b9df0ba5d9a044f3a21e7544f53d90bd1465
block: move capacity from disk to part0

Move disk->capacity to part0->nr_sects and convert all users who
directly accessed the field to use {get|set}_capacity().  This is done
early to allow the __dev field to be moved.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/aoe/aoeblk.c
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c
fs/partitions/check.c
include/linux/genhd.h