• Tejun Heo's avatar
    block: misc updates · 310a2c10
    Tejun Heo authored
    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
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
blk-merge.c 9.72 KB