aboutsummaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2012-03-05 13:15:10 -0800
committerJens Axboe <axboe@kernel.dk>2012-03-06 21:27:22 +0100
commit92616b5b3a7c7fa8148df82e7ff6183056f2bfc8 (patch)
treeb204b7df4753e9508cf15d278688dc9c307761fa /block/cfq-iosched.c
parentblkcg: kill the mind-bending blkg->dev (diff)
downloadlinux-dev-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.tar.xz
linux-dev-92616b5b3a7c7fa8148df82e7ff6183056f2bfc8.zip
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/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions