Tejun Heo ed9e198234 block: implement and use {disk|part}_to_dev()
Implement {disk|part}_to_dev() and use them to access generic device
instead of directly dereferencing {disk|part}->dev.  To make sure no
user is left behind, rename generic devices fields to __dev.

This is in preparation of unifying partition 0 handling with other
partitions.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-10-09 08:56:07 +02:00
..
2006-01-01 22:21:50 +01:00
2007-10-20 02:01:11 +01:00
2008-07-21 12:00:40 +01:00
2007-10-20 02:01:11 +01:00
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:57 +01:00
2008-04-25 13:26:57 +01:00
2008-07-21 12:00:38 +01:00
2007-10-20 02:01:07 +01:00
2008-04-25 13:26:57 +01:00
2008-07-21 12:00:35 +01:00
2008-07-21 12:00:35 +01:00
2007-10-20 02:01:07 +01:00
2007-10-20 02:01:26 +01:00
2008-10-09 08:56:06 +02:00
2008-02-06 10:41:18 -08:00
2008-10-09 08:56:06 +02:00
2008-10-09 08:56:06 +02:00
2008-10-09 08:56:06 +02:00
2008-10-09 08:56:06 +02:00
2005-09-17 11:49:58 -07:00
2005-09-17 11:49:58 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2008-10-09 08:56:06 +02:00