diff options
author | Tejun Heo <tj@kernel.org> | 2008-09-03 06:57:12 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 06:56:04 (GMT) |
commit | def4e38ddda9bef20b69bfa939195c2f79da7979 (patch) | |
tree | 51535a76dee0b21857d2c64da22a0406c0dc7357 /fs/ntfs/sysctl.h | |
parent | 2ac3cee5298a247b2774f3319b28a05f588c3f0e (diff) | |
download | linux-fsl-qoriq-def4e38ddda9bef20b69bfa939195c2f79da7979.tar.xz |
block: use class_dev_iterator instead of class_for_each_device()
Recent block_class iteration updates 5c6f35c5..27f3025 converted all
class device iteration to class_for_each_device() and
class_find_device(), which are correct but pain in the ass to use.
This pach converts them to newly introduced class_dev_iterator so that
they can use more natural control structures instead of separate
callbacks and struct to pass parameters to them.
This results in smaller and easier code.
This patch also restores the original behavior of not printing header
in /proc/partitions if there's no partition to print. This is trivial
but still user-visible behavior.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/ntfs/sysctl.h')
0 files changed, 0 insertions, 0 deletions