block: unify sysfs size node handling
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:56:09 +0000 (19:56 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:07 +0000 (08:56 +0200)
commite56105214943ce5f0901d20e972a7cfd0d1d0656
treee7b5abffa47f5bfc664fdbb27025872827514089
parent548b10eb2959c96cef6fc29fc96e0931eeb53bc5
block: unify sysfs size node handling

Now that capacity and __dev are moved to part0, part0 and others can
share the same method.

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