diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2012-03-05 13:15:10 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-03-06 21:27:22 +0100 |
commit | 92616b5b3a7c7fa8148df82e7ff6183056f2bfc8 (patch) | |
tree | b204b7df4753e9508cf15d278688dc9c307761fa /block/blk-throttle.c | |
parent | 7a4dd281ec66224f802093962d1d903d86b09560 (diff) | |
download | op-kernel-dev-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.zip op-kernel-dev-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.tar.gz |
blkcg: skip blkg printing if q isn't associated with disk
blk-cgroup printing code currently assumes that there is a device/disk
associated with every queue in the system, but modules like floppy,
can instantiate request queues without registering disk which can lead
to oops.
Skip the queue/blkg which don't have dev/disk associated with them.
-tj: Factored out backing_dev_info check into blkg_dev_name().
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions