block: make blk_lookup_devt use the class iterator function
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 May 2008 21:21:08 +0000 (17:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:48 +0000 (21:54 -0700)
commita142be856f060ae8106512c0e81a8d6f8746ab0b
tree4a90f897816a5b506bf1cced5413bb4a4326a67d
parent5c6f35c5ece8f130cd8ec9ba0d71dc146b46a0f1
block: make blk_lookup_devt use the class iterator function

Use the proper class iterator function instead of mucking around in the
internals of the class structures.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/genhd.c