Skip to content
Snippets Groups Projects
Commit 27f30251 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

block: make /proc/partitions and /proc/diskstats use class_find_device()


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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 66c64afe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment