]> git.baikalelectronics.ru Git - kernel.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)
commitd6d9e4033c46a97c1f6228d74442146a31628278
treeed30346abf07c5a7e94719f567368d5642af1f95
parenta0c8e655d0a0a41b0829a442b53dafa9386c7c7a
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