From: Tejun Heo Date: Mon, 25 Aug 2008 10:56:05 +0000 (+0900) Subject: block: implement and use {disk|part}_to_dev() X-Git-Tag: v2.6.28-rc1~733^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed9e1982347b36573cd622ee5f4e2a7ccd79b3fd;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed