]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: misc updates
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:47:17 +0000 (19:47 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:04 +0000 (08:56 +0200)
commit310a2c1012934f590192377f65940cad4aa72b15
treeed30346abf07c5a7e94719f567368d5642af1f95
parent88e341261ca4d39eec21b212961c77eff51105f7
block: misc updates

This patch makes the following misc updates in preparation for
disk->part dereference fix and extended block devt support.

* implment part_to_disk()

* fix comment about gendisk->part indexing

* rename get_part() to disk_map_sector()

* don't use n which is always zero while printing disk information in
  diskstats_show()

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
block/blk-merge.c
block/genhd.c
drivers/block/aoe/aoecmd.c
include/linux/genhd.h